When I ignore these libraries (libcmt;msvcprt)
It compiles but instantly crashes with this:
An unhandled exception of type 'System.TypeInitializationException' occurred in Unknown Module.
Additional information: The type initializer for '<Module>' threw an exception.
Debug Output:
'AcroServer.exe' (Managed): Loaded 'C:\windows\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.6161_none_50934f2ebcb7eb57\msvcm90.dll'
First-chance exception at 0x778e1ae6 in AcroServer.exe: 0xC0000005: Access violation reading location 0xb81c4987.
First-chance exception at 0x7310ce49 in AcroServer.exe: 0xC0000005: Access violation writing location 0xb81c4988.
A first chance exception of type 'System.AccessViolationException' occurred in AcroServer.exe
A first chance exception of type '<CrtImplementationDetails>.ModuleLoadException' occurred in msvcm90.dll
First-chance exception at 0x76b6b9bc in AcroServer.exe: Microsoft C++ exception: [rethrow] at memory location 0x00000000..
An unhandled exception of type 'System.TypeInitializationException' occurred in Unknown Module.
Additional information: The type initializer for '<Module>' threw an exception.
When I ignore these libraries instead (libcmtd, msvcrt, atls)
It does not compile and I get these linker errors:
1>MSVCMRT.lib(mstartup.obj) : error LNK2001: unresolved external symbol __forceCRTManifestRTM
1>MSVCMRT.lib(mstartup.obj) : error LNK2001: unresolved external symbol ___native_dllmain_reason
1>MSVCMRT.lib(mstartup.obj) : error LNK2001: unresolved external symbol ___native_vcclrit_reason
1>MSVCMRT.lib(mstartup.obj) : error LNK2001: unresolved external symbol ___native_startup_state
1>MSVCMRT.lib(mstartup.obj) : error LNK2001: unresolved external symbol ___native_startup_lock
1>D:\Libraries\Documents\Visual Studio 2008\Projects\AcroGame\Release\AcroServer.exe : fatal error LNK1120: 5 unresolved externals
I can ignore (msvcmrt) with the latter
I get only this linker error, but for each of my form files:
error LNK2001: unresolved external symbol "?.cctor@@$$FYMXXZ" (?.cctor@@$$FYMXXZ)
So thats not the route..
This is all with Code Generation: Multi-Threaded DLL
and with or without including mikenet.lib && ws2_32.lib produces the same results..
BLEH!!
It feels like were so close..
EDIT: EDIT: Mike, could you tell me specifically what libraries I must ignore in the compiler?