Where is main II....

A

Allen Maki

Hi everybody.

A lot of nice people tried to help, but still can not get the answer.

I am new to forms and controls. I do C++ programming for more than 10
years.
I noticed that there is no main() function. Can anybody explain what I am
missing. I am using V C++ .NET version 2003 compiler.

I am sure there is some kind of philosophy out there

I would be pleased if you could tell me where I can find more information
about the subject.
 
B

Bob Powell [MVP]

You _were_ answered several times.

If you create a project called "Fred" then the main function will be in the
Fred.cpp file which can be found in th Source Files folder.

--
--
Bob Powell [MVP]
Visual C#, System.Drawing

Ramuseco Limited .NET consulting
http://www.ramuseco.com

Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm

All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.
 
L

Lloyd Dupont

You _were_ answered several times.Really?
I guess then it's pointless then to advise him to drop WinForm and jump on
the WPF band wagon right away, is it?!? ;-)
 
A

Allen Maki

Hi Bob,

It nice to meet you again.
I keep telling everybody that I do not have any source file in the name of
the project. I have source file for each form only.
 
B

Bob Powell [MVP]

Hi Allen,
I'm not sure how to help you then. I tried this myself, creating a new
C++ project from scratch, and the file is definitely there, as is the
main function.

Did you delete the file by mistake?

Did you think of recreating the thing just to see?

If you did all of these and the file / function is still not there I
suggest you contact Microsoft directly because it seems they gave you a
different version of Visual Studio than everyone-else in the world got.

--
Bob Powell [MVP]
Visual C#, System.Drawing

Ramuseco Limited .NET consulting
http://www.ramuseco.com

Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm

All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top