I've migrated from vs2002 to vc2010express.
I used to be able to compile a MINIMAL .exe for a simple c++ app.
Now my .exe needs msvcr100.dll :(
I don't use ANY c runtime funcs.
I don't want exception handling or SEH.
No NOTHIN!
I've defined a custom entry point for linker and...
void *operator new (unsigned int sz)
{ void *p;
p = (void *) ::HeapAlloc (::GetProcessHeap (), 0, sz ? sz : 1);
if (p == NULL) Die ("outa memory!");
return p;
}
void operator delete (void *p) {if (p) ::HeapFree (::GetProcessHeap (), 0, p);}
I've tweaked the settings best I can, but can't seem to get the linker to not need msvcr100.dll :(
Does anybody have a minimal type .vcxproj file they could share with me or ideas to set c compiler, linker settings to?
Or just some tips?
Pleeeeeeeease :)
...Steve