Archive: Trouble compiling debug Installoptions


Trouble compiling debug Installoptions
I'm using VC++ 6.0 to build a debug version of the InstallOptions DLL, but it's telling me....

LIBCMTD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
io.dll : fatal error LNK1120: 1 unresolved externals

The retail build works fine. Does anybody have any ideas about this? I'm trying to modify InstallOptions to support text boxes (and password boxes). I'll release the code as soon as I'm done.

Any help would be appreciated.

Mal.

(It's been some months since I last used VC++. Sadly, VB has dominated at work - and I'm not a huge fan)


Well, I found out that passwords are already supported, so I don't need to modify a thing. However, I'd still like to know why I cannot compile a debug release!

Mal.


The solution for the linker prob is to enable the checkbox 'Project->Settings->Linker- >General->Ignore all default libraries'.

If you get the 'error LNK2001: unresolved external symbol __chkesp', remove the /GZ from the compiler switches.

~ Florian