Compiling DLL for 64 bit processor ... lazarus / 16-Databases ---------------------------------------------------------------------- AlbertoB · 2010-12-14 14:58 Hello, I'm porting a Delphi 32 project to Lazarus 64 bit for eployng on a Win 2008 Server 64 bit. The problem is that in a DLL of the origina Delphi 32 project i use the TIBDatabase components for access to a Interbase/Firebird database and i don't find the same components for Lazarus 64 bit. What can i do ? Is there any work-around ? Thank you Alberto ---------------------------------------------------------------------- Marc · 2010-12-14 16:09 The easy solution: use the 32bit app. No need to compile a 64bit app for win2008/64. It still runs 32 bit apps. ---------------------------------------------------------------------- AlbertoB · 2010-12-14 16:32 Hello, i can't use the 32 bit version because i use a lot of Stored procedure and if i try to excute them i obtain this errore message "Invalid request BLR at offset 2019.Function .... is not defined. Module name or entrypoint could not be found". So i think that there is a incompatibility betweeen my 32 bit DLL and the 64 bit processor. Bye and thank you ---------------------------------------------------------------------- Laksen · 2010-12-14 18:29 You can't use a 32bit dll and a 64bit application together. You need both for the same platform ---------------------------------------------------------------------- Marc · 2010-12-17 01:08 Quote from: AlbertoB on December 14, 2010, 05:32:13 pmHello, i can't use the 32 bit version because i use a lot of Stored procedure and if i try to excute them i obtain this errore message Stored procedures aren't part of your dll, so that sholdn't matter. Quote"Invalid request BLR at offset 2019.Function .... is not defined. Module name or entrypoint could not be found". So i think that there is a incompatibility betweeen my 32 bit DLL and the 64 bit processor. If the app ran without problem on a 32bit platform, it should do to on a 64 bit windows. A 32bit app will never load a 64 bit dll, so than can't be a problem. What dll's are you trying to load ? are you doing any registry access ? (my software at work is written in delphi6 with database and network access, runs without problems on win2008R2 64bit, so I see no reasion why it wouldn't work for you)