www.digitalmars.com Home | Search | C & C++ | D | DMDScript | News Groups | index | prev | next
Archives

D Programming
D
D.gnu
digitalmars.D
digitalmars.D.bugs
digitalmars.D.dtl
digitalmars.D.dwt
digitalmars.D.announce
digitalmars.D.learn
digitalmars.D.debugger

C/C++ Programming
c++
c++.announce
c++.atl
c++.beta
c++.chat
c++.command-line
c++.dos
c++.dos.16-bits
c++.dos.32-bits
c++.idde
c++.mfc
c++.rtl
c++.stl
c++.stl.hp
c++.stl.port
c++.stl.sgi
c++.stlsoft
c++.windows
c++.windows.16-bits
c++.windows.32-bits
c++.wxwindows

digitalmars.empire
digitalmars.DMDScript
electronics



c++ - Compiling the Run Time Library

↑ ↓ ← "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
↑ ↓ → 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