Dearest madshi,
Having upgraded to your latest Delphi complains that "InitUnprotectMemory" is missing in madRemote.dcu when building for x64.
32 bit builds without any problems.
Am I doing something wrong ?
Respectfully
InitUnprotectMemory missing from x64 madRemote.dcu
-
- Posts: 31
- Joined: Mon Dec 29, 2014 6:22 pm
Re: InitUnprotectMemory missing from x64 madRemote.dcu
It's not used/needed, anymore. Do you need it? What for?
-
- Posts: 31
- Joined: Mon Dec 29, 2014 6:22 pm
Re: InitUnprotectMemory missing from x64 madRemote.dcu
I don't know..
It's part of the TIModule.SetProcAddress() function in madKernel.pas.
It's part of the TIModule.SetProcAddress() function in madKernel.pas.
Re: InitUnprotectMemory missing from x64 madRemote.dcu
Sorry for the late reply. Hmmmm... madKernel doesn't really support 64bit yet, which is why this problem never showed up for me. Are you really using madKernel for x64? There's a lot of stuff in madKernel which isn't really 64bit ready. E.g. lots of pointer math using "integer" or "cardinal/dword", which should produce crashes if any memory is allocated above 4GB etc. Or handles being defined as "dword" (4 byte) instead of "THandle" (8 byte in x64).
-
- Posts: 31
- Joined: Mon Dec 29, 2014 6:22 pm
Re: InitUnprotectMemory missing from x64 madRemote.dcu
This time it's my turn to apologize for the late reply
Well, it used to be there in both Win32 and Win64 versions of madRemote, howcome it's not needed in the Win64 version of madRemote anymore ?
It's still there for Win32 in the latest madCollection (2.8.9.0), but not for Win64 ?
I know madKernel does not come in 64 bit, but I have converted/upgraded it so it does work under x64, so far it's doesn't crash or do anything nasty, there may be some things that does not work, when I encounter them I'll try and fix them to the best of my ability..
Well, it used to be there in both Win32 and Win64 versions of madRemote, howcome it's not needed in the Win64 version of madRemote anymore ?
It's still there for Win32 in the latest madCollection (2.8.9.0), but not for Win64 ?
I know madKernel does not come in 64 bit, but I have converted/upgraded it so it does work under x64, so far it's doesn't crash or do anything nasty, there may be some things that does not work, when I encounter them I'll try and fix them to the best of my ability..