[ofw] RE: [PATCH] WV: Don't link to CRT
Fab Tillier
ftillier at windows.microsoft.com
Sat Feb 28 13:12:01 PST 2009
> So, how do you use calls like malloc, free, fopen, fgets, fclose, etc.
> without using USE_MSVCRT in the sources file?
I don't, I use HeapAlloc, HeapFree, CreateFile, and so forth. Something like WinVerbs shouldn't need to use any of those things. The compat libraries unfortunately do, and for those linking to the DLL runtime would be the way to go. Document that so that clients know not to statically link and you'd be fine.
-Fab
More information about the ofw
mailing list