|
-
August 9th, 1999, 08:29 AM
#1
Runtime Error, C++,Urgent
I have a program, when i run it on vc++ environment,has no compilation errors,but gives a runtime linker error libcd.lib(crt0.obj) unresolvable external symbol _main.Which i tried unable to rectify it.Urgent
Suresh kumar K
-
August 9th, 1999, 08:58 AM
#2
Re: Runtime Error, C++,Urgent
Hi,
if you want to write a Windows app you have the wrong options in the Project Settings. If you're writing a console app you need to define a main() function, which is the entry point for the whole app.
Martin
-
August 9th, 1999, 09:07 AM
#3
Re: Runtime Error, C++,Urgent
I tried my level best with the settings,it is sdk program.Could you help me with some more information.I even tried for console app,so success.
Suresh kumar K
-
August 9th, 1999, 02:07 PM
#4
Re: Runtime Error, C++,Urgent
An SDK program? Du you mean a program for Windows written in C? Okay, did you run the Ressource Compiler? Even if you don't have ressources in your program it will "stamp" it so that the Exe loader recognizes the correct subsystem.
Martin
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|