Ok, now I'm having linker errors when compiling a dll. The problem is with the entry point of the dll, DLLMain. Apparently, its interfering with the one in "DBDLLCore.obj". Heres the actual error output:
1>core.lib(DBDLLCore.obj) : error LNK2005: _DllMain@12 already defined in dllmain.obj
1> Creating library C:\Users\Ben\Documents\Visual Studio 2008\Projects\DNDK\Release\DNDK.lib and object C:\Users\Ben\Documents\Visual Studio 2008\Projects\DNDK\Release\DNDK.exp
1>LINK : warning LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; use /NODEFAULTLIB:library
1>C:\Users\Ben\Documents\Visual Studio 2008\Projects\DNDK\Release\DNDK.dll : fatal error LNK1169: one or more multiply defined symbols found
So how do I get rid of this linker error?
DNDK - Dark Newton Development Kit. In progress.