3 ms·
Favorited on GitHub for future reference (manually when needing to make a point). Awesome work! I publish a universal msvcrt.lib that lets you use “standard C
by ComputerGuru 6y ago
Favorited on GitHub for future reference (manually when needing to make a point). Awesome work!
I publish a universal msvcrt.lib that lets you use “standard C functions” without dependencies or static linking, but I’m quite sure it wouldn’t support Windows 3.x!
https://github.com/neosmart/msvcrt.lib https://github.com/neosmart/msvcrt.lib
- sjmulder 6y agoThanks! Note that I don’t have much experience writing Win32 apps so the code might not be top quality. The universal lib is interesting for future work (the compiler inlined the few things I needed). For Win32s support generating a position-independent executable was the only problematic bit, but that's not an issue for libraries.
- josephcsible 6y ago> Note: It is recommended to use the versioned C runtime when and where possible; this script is only provided for the convenience of developers familiar with the pitfalls and caveats that come with using the unversioned copy of msvcrt.dll and the minimal APIs it exposes! I'm worried that people won't heed this warning.
- nneonneo 6y agoOh, this is great! Wish I'd seen this when I was compiling Chocolate Doom (on old Windows 95 builds my DOOM.EXE requires msvcrt.dll).
- ComputerGuru 6y agoThanks. I needed it enough times to warrant making it easily accessible for everyone. Great work yourself!