32-bit and 64-bit Application Interoperability – Windows (part 1)

I needed a solution for making an application which is native 32b to “discuss” with a 64b client.
The client is creating a shared memory in which some data is saved. The server needs to process the data.

Amazon: Bestsellers Electronics and Photo

Here is how MSDN describes the problem:
Running 32-bit Applications (on 64-bit OS): http://msdn.microsoft.com/en-us/library/aa384249(VS.85).aspx

And my problem is addresses here:
http://msdn.microsoft.com/en-us/library/aa384203(VS.85).aspx

Interprocess Communication

Amazon: Bestsellers Electronics and Photo

The following techniques can be used for communication between 32- and 64-bit applications:

* Handles to named objects such as mutexes, semaphores, and file handles can all be shared.
* Handles to windows (HWND) can be shared.
* RPC.
* COM LocalServers.
* Shared memory can be used if the contents of the shared memory are not pointer-dependent.
* The CreateProcess and ShellExecute functions can launch 32-bit and 64-bit processes from either 32-bit or 64-bit processes.
Amazon: Bestsellers Electronics and Photo


© Copyright 2008 Sorin Mustaca, All rights Reserved. Written For: Sorin Mustaca on Cybersecurity

Check www.mustaca.com for the IT Consulting services I offer.
Visit www.itsecuritynews.info for latest security news in English
Besuchen Sie http://de.itsecuritynews.info für IT Sicherheits News auf Deutsch

About the Author

Sorin Mustaca

Sorin Mustaca, (ISC)2 CSSLP, CompTIA Security+ and Project+, is working since year 2000 in the IT Security industry and worked between 2003-2014 for Avira as Product Manager for the known products used by over 100 million users world-wide. Today he is an independent IT Security Consultant focusing on Cybersecurity, secure software development and security for IoT and Automotive. He is also running his personal blog Sorin Mustaca on Cybersecurity and is the author of the free eBook Improve your security .

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close