If the application is 32bit then the dll must be 32bit also, same for 64bit. It is only that your application must load the proper dll for itself. The MySQL database itself does not matter whether 32 or 64bit, both the 32bit/64bit DLL can access them. Whichever your compiled executable is (Win32 or Win64), you need to load the proper 32 or 64bit LibMySQL.dll for it. "Unit output directory" to "units\$(TargetCPU)-$(TargetOS)" so I can see what files are what. I also put the "Target file name" to "something-$(TargetOS)" and the In the Lazarus "Project -> Project Options -> Code Generation" use the "Target OS" and "Target CPU Family" to make sure you either have "Win64/x86_64" or "Win32/i386" pair (of course you need the proper fpc units for both pairs). (mysql-connector-odbc-8.1.), MD5: 80595ed8e018e497ed3fff38dea0be05 Signature. I am using the 32bit Lazarus and have cross-compiling to 64bit if I need 64bit applications.īy having 64 bit Lazarus does not guarantee that your compiled app is 64bit. I am able to create both 32bit and 64 bit Apps to use MySQL on my 64bit Windows machine (to connect to MySQL via tcp/ip locally or to remote servers). Am I better off Installing 32 Bit Lazarus, if so, what implications does that have for Windows 7 compatibilty? Where can I get a version of libmysql.dll that is guaranteed 64 Bits?Ģ. "Cannot load default MySQL Library ("libmysql.dll" or "libmysql.dll"). I have the 64 bit version of lazarus installed and I have tried both the 32 bit and (I think) the 64 bit version of libmysql.dll to no avail. Installer, 32/64 bit combined &TildeEqual Portable version (zipped): 32 bit &TildeEqual 64 bit &TildeEqual Sourcecode. I have copied the source for these to my new machine after downloading and installing Lazarus and BOOM!! I have the libmysql.dll in the application directory,and everything is hunky-dory. I have numerous Applications that talk to my MySQL Databases on my server, they all run fine on my old XP(SP3) machine. I have a Dell N5040, Windows 7(64 Bit), Lazarus 1.04, FPC Version2.6.0. I know this has been covered elsewhere(I think I've read most of the threads!),but I can't get this working.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |