InitUnprotectMemory missing from x64 madRemote.dcu

delphi package - getting into other processes

InitUnprotectMemory missing from x64 madRemote.dcu

Postby Overnissen » Fri Apr 15, 2016 3:30 pm

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
Overnissen
 
Posts: 28
Joined: Mon Dec 29, 2014 6:22 pm

Re: InitUnprotectMemory missing from x64 madRemote.dcu

Postby madshi » Fri Apr 15, 2016 6:10 pm

It's not used/needed, anymore. Do you need it? What for?
madshi
Site Admin
 
Posts: 9199
Joined: Sun Mar 21, 2004 5:25 pm

Re: InitUnprotectMemory missing from x64 madRemote.dcu

Postby Overnissen » Fri Apr 15, 2016 7:29 pm

I don't know..

It's part of the TIModule.SetProcAddress() function in madKernel.pas.
Overnissen
 
Posts: 28
Joined: Mon Dec 29, 2014 6:22 pm

Re: InitUnprotectMemory missing from x64 madRemote.dcu

Postby madshi » Wed Apr 27, 2016 5:11 pm

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).
madshi
Site Admin
 
Posts: 9199
Joined: Sun Mar 21, 2004 5:25 pm


Return to madRemote

Who is online

Users browsing this forum: No registered users and 1 guest