IPC between 32 and 64 bit processes

c++ / delphi package - dll injection and api hooking
Post Reply
nomen
Posts: 48
Joined: Wed Jun 25, 2008 7:15 am

IPC between 32 and 64 bit processes

Post by nomen »

Hi all:

I have developed an app for 32 bit with madCodeHook 2.x. The app has a hooking dll and a service to load it. It also has some other EXE files, this files are using some Tool Functions and the IPC Functionality from madCodeHook.
Now I want to buy madCodeHook 3.x to work also with 64 bits.
If I understand correctly (maybe I will send another post to correctly understand all the process to configure, sign and use madCodeHook 3.X ) I only need to compile for 64 bits the dll and the service. It is true? Do all the other files work correctly? Will there be any problem if I use IPC between service (64-bit) and 32-bit EXE?

Thanks in advance
madshi
Site Admin
Posts: 10764
Joined: Sun Mar 21, 2004 5:25 pm

Re: IPC between 32 and 64 bit processes

Post by madshi »

With a bit of luck, a recompile of the hook dll and service should do. The service will need a few minor changes due to the modified DLL injection APIs. The IPC has no problems working across bitdepth boundaries. However, recently it was found that the IPC makes problems when compiled with VS 2012. Haven't fixed that problem yet. So you might want to stick with VS 2005 - 2010 for now.
nomen
Posts: 48
Joined: Wed Jun 25, 2008 7:15 am

Re: IPC between 32 and 64 bit processes

Post by nomen »

Hi Madshi:

Thank you for your incredibly fast answer.
I´m using VS 2005, So I hope there are no problems.

Thank you very much.
Post Reply