Operating System - HP-UX
1833454 Members
3183 Online
110052 Solutions
New Discussion

64-bit Shared Library / 32-bit App

 
Ty Roberts
Frequent Advisor

64-bit Shared Library / 32-bit App

We are trying to implement a new process with our ERP system that needs to run some Shared Library calls. The problem is the shared library only comes complied in 64-bit and our ERP is a 32-bit application. Does anyone know a way to get these two to "mesh"?? Is there a way to write some sort of "wrapper" for the Shared Library?? Or are we up the creek in terms of using this SL???

Thanks,
Ty
5 REPLIES 5
Patrick Wallek
Honored Contributor

Re: 64-bit Shared Library / 32-bit App

My guess would be that you are pretty much up a creek. I seriously doubt that you would be able to get the 64-bit library to work with a 32-bit app.

If does not sound like a good recipe for success.
H.Merijn Brand (procura
Honored Contributor

Re: 64-bit Shared Library / 32-bit App

won't mix. period.

you could try pipes, or message queues

Enjoy, Have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn
A. Clay Stephenson
Acclaimed Contributor

Re: 64-bit Shared Library / 32-bit App

That dog won't hunt. The only way to make this work is to fork/exec a 64-bit child process and establish two-way communication between it and the 32-bit parent process.
If it ain't broke, I can fix that.
Ty Roberts
Frequent Advisor

Re: 64-bit Shared Library / 32-bit App

When you talk about using pipes, or more specifically Memory Queues, how do you suppose we use those to provide the communication channel?? Can you elaborate???

Thanks,
Ty
Ty Roberts
Frequent Advisor

Re: 64-bit Shared Library / 32-bit App

I am sorry, I meant Message Queues not Memory Queues...