Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2009-11

32bit application in 64bit OS

8 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Marc Weustink
to Roland Turcan
Roland Turcan wrote 6 lines
Hello Lazarus mailing list! I need to solve communication between my application and PCSC-Lite running on 64bit machine, but loading 64bit *.so file doesn't work. How can I do this?

32bit applicationsd need 32bit libs, so install a 32bit version of your .so

Marc

Reply by email

Hans-Peter Diettrich
to Marc Weustink
Show quoted text 6 lines
> I need to solve communication between my application and PCSC-Lite > running on 64bit machine, but loading 64bit *.so file doesn't work. > > How can I do this? 32bit applicationsd need 32bit libs, so install a 32bit version of your .so

If I understand you right, a changed protocol for 32/64 bit application communication is a misfeature. Every client (OS and applications) then must become 64 bit, when the server applications become 64 bit?

DoDi

Reply by email

Marc Weustink
to Hans-Peter Diettrich
Hans-Peter Diettrich wrote 13 lines
Marc Weustink schrieb: >> I need to solve communication between my application and PCSC-Lite >> running on 64bit machine, but loading 64bit *.so file doesn't work. >> >> How can I do this? > > 32bit applicationsd need 32bit libs, so install a 32bit version of > your .so If I understand you right, a changed protocol for 32/64 bit application communication is a misfeature. Every client (OS and applications) then must become 64 bit, when the server applications become 64 bit?

No, we were not talking about protocols, but about libs

Marc

Reply by email

Hans-Peter Diettrich
to Marc Weustink
Show quoted text 14 lines
>>> I need to solve communication between my application and PCSC-Lite >>> running on 64bit machine, but loading 64bit *.so file doesn't work. >>> >>> How can I do this? >> >> 32bit applicationsd need 32bit libs, so install a 32bit version of >> your .so > > If I understand you right, a changed protocol for 32/64 bit > application communication is a misfeature. Every client (OS and > applications) then must become 64 bit, when the server applications > become 64 bit? No, we were not talking about protocols, but about libs

Wait, did I miss something? I thought that Lazarus (FPC) creates 64 bit applications on a 64 bit platform. Not yet?

DoDi

Reply by email

Marc Weustink
to Hans-Peter Diettrich
Hans-Peter Diettrich wrote 19 lines
Marc Weustink schrieb: >>>> I need to solve communication between my application and PCSC-Lite >>>> running on 64bit machine, but loading 64bit *.so file doesn't work. >>>> >>>> How can I do this? >>> >>> 32bit applicationsd need 32bit libs, so install a 32bit version of >>> your .so >> >> If I understand you right, a changed protocol for 32/64 bit >> application communication is a misfeature. Every client (OS and >> applications) then must become 64 bit, when the server applications >> become 64 bit? > > No, we were not talking about protocols, but about libs Wait, did I miss something? I thought that Lazarus (FPC) creates 64 bit applications on a 64 bit platform. Not yet?

Eh, yes.

Let me repeat the original subject and mail:

Subject: 32bit application in 64bit OS
-> we are talking about a 32 application

Message: ... but loading 64bit *.so file doesn't work. -> loading a 64bit lib.

My comment: 32bit applications need 32bit libs
-> a 32bit app cannot load 64bit libs

I'm not talking about protocols, neither the apptypes fpc generates.

Marc

Reply by email

Hans-Peter Diettrich
to Marc Weustink
Show quoted text 9 lines
> Wait, did I miss something? I thought that Lazarus (FPC) creates 64 > bit applications on a 64 bit platform. Not yet? Eh, yes. Let me repeat the original subject and mail: Subject: 32bit application in 64bit OS -> we are talking about a 32 application

Right, this is what I missed. Sorry :-(

DoDi

Reply by email

waldo kitty
to Hans-Peter Diettrich: Wait, did I miss something? I thought that Lazarus (FPC) creates 64 bit applications on a…
Hans-Peter Diettrich wrote 19 lines
Marc Weustink schrieb: >>>> I need to solve communication between my application and PCSC-Lite >>>> running on 64bit machine, but loading 64bit *.so file doesn't work. >>>> >>>> How can I do this? >>> >>> 32bit applicationsd need 32bit libs, so install a 32bit version of >>> your .so >> >> If I understand you right, a changed protocol for 32/64 bit >> application communication is a misfeature. Every client (OS and >> applications) then must become 64 bit, when the server applications >> become 64 bit? > > No, we were not talking about protocols, but about libs Wait, did I miss something? I thought that Lazarus (FPC) creates 64 bit applications on a 64 bit platform. Not yet?

this sounds like the OP has the server portion of their app running on a 64bit machine and they are trying to work out why their 32bit clients on 32bit machines can't communicate with said server...

Reply by email