I have a coinstaller which kind of works. But when I try to add a call to
sprintf I get the error
Linking Executable - objfre\i386\papercoinst.dll for i386
libc.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
objfre\i386\papercoinst.dll() : error LNK1120: 1 unresolved externals
I assume the problem is sprintf is in the C run-time, and the problem is
really with that library.
I’ve tried adding $(DDK_LIB_PATH)\msvcrt.lib, but it didn’t help.
According to the docs, I should be linking with msvcrt, and
_DllMainCRTStartup, not _main should be the entry point. Am I missing
something? How can I fix this?
Thanks.
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com