Hi.
My PC has just had a hard drive rewipe, which has erased all my VC++ projects
Today, I tried to reinstall the compiler (VC++ 2008). ShuttlePB compiles fine. But when I try MFDTemplate, it gives me this;
orbitersdk.lib(Orbitersdk.obj) : error LNK2005: _DllMain@12 already defined in MSVCRTD.lib(dllmain.obj)
So I told it to ignore MSVCRTD.lib. It compiled fine. copied the DLL into Orbiter and acivated - I get a R6033 Runtime Error and Orbiter dies.
I've googled around, but found no soultion that works. For some reason, it compiles if I open the project included in the SDK, but not if I copy over the files. The settings on the project seem identical.
Can anyone help me? Thanks.
My PC has just had a hard drive rewipe, which has erased all my VC++ projects
Today, I tried to reinstall the compiler (VC++ 2008). ShuttlePB compiles fine. But when I try MFDTemplate, it gives me this;
orbitersdk.lib(Orbitersdk.obj) : error LNK2005: _DllMain@12 already defined in MSVCRTD.lib(dllmain.obj)
So I told it to ignore MSVCRTD.lib. It compiled fine. copied the DLL into Orbiter and acivated - I get a R6033 Runtime Error and Orbiter dies.
I've googled around, but found no soultion that works. For some reason, it compiles if I open the project included in the SDK, but not if I copy over the files. The settings on the project seem identical.
Can anyone help me? Thanks.