I have created a dll project in VS2010 (Win32 console application>dll). I put some header files in the project when I compile I get this error:
error LINK2001: unresolved external symbol _dllmaincrtstartup@12
What is this? How do I fix it?
Also the header files define a number of abstract classes.
Q: It’s the .dll that’s failing to build (and not an .exe that uses the .dll), correct?
Q: Does anything in your .dll source have a DllMain()?
If not, would you consider adding one?
Q: Are you sure the project settings are configured for “DLL”? For “/MT” (multi-threaded, static link)?
Q: Failing all else, have you considering creating a NEW project, creating a “hello world” .dll, and verifying that it builds?