Thomas
April 28th, 1999, 06:04 PM
hi folks,
I am working on an ATL control with VS6. Every thing works fine in debug mode, but when I try to compile the code in ReleaseMinSize mode, it gives me the following error message:
Linking...
Creating library ReleaseMinSize/MyControl.lib and object ReleaseMinSize/MyControl.exp
LIBCMT.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
ReleaseMinSize/MyControl.dll : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
I checked the settings (I am using the default settings) of the project and have no luck so far, does anyone knows what's going wrong?
Any help is appreciated, thanks!!
Regards,
Thomas
I am working on an ATL control with VS6. Every thing works fine in debug mode, but when I try to compile the code in ReleaseMinSize mode, it gives me the following error message:
Linking...
Creating library ReleaseMinSize/MyControl.lib and object ReleaseMinSize/MyControl.exp
LIBCMT.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
ReleaseMinSize/MyControl.dll : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
I checked the settings (I am using the default settings) of the project and have no luck so far, does anyone knows what's going wrong?
Any help is appreciated, thanks!!
Regards,
Thomas