Visual C++ 2003 Question


Recommended Posts

we at work c++ code that is console based at teh moment. we would like to add a GUI to control it but I am haveing some problems.

first I changed the properties (settings ) to make it a managed c++ project and added a form called MainForm

it created the MainForm.h and MainForm.cpp and MainForm.resX

I want to add it to my old main to test

I tried MainForm mainForm = new MainForm();

but that errors?

it also doe not like my #include"MainForm";

any hints?

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...