Get rid of MSVCRT.DLL dependancy

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
Roger Hågensen
User
User
Posts: 47
Joined: Wed Mar 25, 2015 1:06 pm
Location: Norway

Get rid of MSVCRT.DLL dependancy

Post by Roger Hågensen »

For a bit of history (and why you should not use) MSVCRT you can read here https://blogs.msdn.microsoft.com/oldnew ... 00/?p=1273

PureBasic (linker?) seems to use MSVCRT for stuff like malloc, but on Windows there are Win32 APIs that does the same. (and MSVCRT wraps those APIs anyway).

msvcrt.dll is a relic from the Windows NT 4.0 era, and it's not even a part of the Win32 API.
4 music albums under CC BY license available for free (any use, even commercial) at Skuldwyrm.no
User avatar
Mijikai
Addict
Addict
Posts: 1517
Joined: Sun Sep 11, 2016 2:17 pm

Re: Get rid of MSVCRT.DLL dependancy

Post by Mijikai »

I think it will be removed at some point :o
Fred
Administrator
Administrator
Posts: 18162
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: Get rid of MSVCRT.DLL dependancy

Post by Fred »

The problem is you will need to ship another DLL then with your exe, as MSVCRT.dll is the only one found on all Windows version. MSVCRT70.dll, 80.dll etc. are not installed by default.
Post Reply