www.digitalmars.com         C & C++   DMDScript  

c++ - Compiling the Run Time Library

reply "Digital Mars" <nick_hofstetter msn.com> writes:
I have the Digital Mars CD and I what looks like all the code for the Run 
Time library. When I try and build it I get a message 'There is no 
identifable version of MASM installed".



Couple of quick questions.



Is it possible for me to change the Runtime libary and build it with the 
files on the CD?

If yes, then what version of MASM do I need? I have version 6.0 dated 1991.

Any other help would be appriciated



My problem is that there is a Memory leak that I believe is in the library. 
If you write a DLL that does nothing, and then load it(LoadLibrary) and the 
unload it (FreeLibrary) you loose some memory. If you re-compile the DLL 
with Visual Studio there in no memory leak.



My application loads and unloads the DLL several thousand times and 
eventually runs out of memory.
Jul 31 2007
parent Walter Bright <newshound1 digitalmars.com> writes:
Digital Mars wrote:
 Is it possible for me to change the Runtime libary and build it with the 
 files on the CD?
Yes, but you'll need MASM.
 If yes, then what version of MASM do I need? I have version 6.0 dated 1991.
I use MASM 5.10. It should still work with 6.0, however, Microsoft kept changing the macro syntax, and so it might require some tweaking here and there to get it to work with 6.0.
Aug 01 2007