andremussche / scalemm

Fast scaling memory manager for Delphi
https://code.google.com/p/scalemm/
Other
98 stars 22 forks source link

ScaleMM does not work on XE2 64bits #3

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. In XE2 64bits, create a new console application
2. Add ScaleMM2 to the top of the uses list
3. Add "WriteLn('test')" command (or anything else)

What is the expected output? What do you see instead?
The application should start and execute the command. Instead, it reports an 
exception short after initialization: "c0000005 ACCESS-VIOLATION"

What version of the product are you using? On what operating system?
Version 2.05 (19 March 2011)

Slightly modified to allow 64bits compilation. The following functions were 
modified:

Unit ScaleMM2:
- Integer/Cardinal parameters in Scale_GetMem, Scale_AllocMem and 
Scale_ReallocMem functions were replaced by NativeInt

Unit smmFunctions:
- replaced "dword" from CAS32 function to NativeUInt

ScaleMM2 works beautifully in XE2 32bits

Original issue reported on code.google.com by tf.ran...@gmail.com on 13 Feb 2012 at 2:02

GoogleCodeExporter commented 9 years ago
ScaleMM2 is not 100% stable for 32bit yet (some scenario's, will look at it 
again), so after that I will make it work on 64bit

Original comment by andre.mussche on 27 Feb 2012 at 9:38

GoogleCodeExporter commented 9 years ago
see the version2 branch for a new version

Original comment by andre.mussche on 8 Mar 2012 at 10:11

GoogleCodeExporter commented 9 years ago
It seems to be working perfectly now. I have started heavier tests, and I will 
report my conclusions within some days.

Thanks for the outstanding work!

Original comment by tf.ran...@gmail.com on 9 Mar 2012 at 12:02