Will Microsoft VB work for Windows Programming?

Started by
3 comments, last by ace_muncher 22 years, 6 months ago
I am currently using Microsoft Visual C++ 6.0. I was reading a tutorial and typed in word for word what they said to. I even copied and pasted what they wrote. None of this is working and it says that main is an unreferenced something, I forgot. Will this compiler compile Windows programs? -Ace
-Ace
Advertisement
of course, it is microsoft visual c++! that is what it is for...
it must be something wrong with the program (and the tutorial i guess), since that compiler was made for windows programming.
You may have just set up your project wrong. If the example your trying has a WinMain function then make sure you select Win32 application for the project type. If it just has a main function then select Console application for the project type.
Where does VB come into this? (ie why is it in the subject line)

If you have pasted VB code into VC++ then it won''t work because it is in a different language.

Trying is the first step towards failure.
Trying is the first step towards failure.
VB was an accident. I don''t know why I typed that....
Oh well....


-Ace
-Ace

This topic is closed to new replies.

Advertisement