Page 1 of 1
Problem linking C++Builder demo program
Posted: Wed 22 Jun 2005 17:55
by Bill Comben
Hi, I have used mysql on websites with PHP, I now want to access mysql tables from a PC application using CBuilder 5 and have downloaded the Mydac trial version.
When I compile the Cbuilder5 demo program I get the following linker error
[Linker Fatal Error] Fatal: Unable to open file 'MYCONNECTFORM.OBJ'
Is this a file that I am supposed to provide?, any help would be appreciated.
Thanks in advance
Bill
Posted: Thu 23 Jun 2005 10:08
by Ikar
Please try to compile MyDAC/Demos/Cbuilder5 application
Posted: Thu 23 Jun 2005 10:23
by Guest
Hello Ikar, thank you for your reply.
Yes I have tried to compile the MyDAC/Demos/Cbuilder5 application but it gives the compiler error as I stated.
Anything else I could try to fix the problem.
Bill
Posted: Fri 24 Jun 2005 14:29
by Ikar
Please check if Tools->Environment Options->Library->Library path contains '$(BCB)\MyDac\Lib\ path.
Posted: Mon 27 Jun 2005 09:50
by Guest
Hi Ikar
The path was not included, so I have added it, but I still get the same error message.
The complete Library path is now
$(BCB)\Lib;$(BCB)\Bin;$(BCB)\Imports;$(BCB)\Projects\Bpl;c:\apro;$(BCB)\MyDac\Lib
Thanks, Bill
Posted: Mon 27 Jun 2005 12:10
by Ikar
Check if the requested file is in this folder.
Posted: Wed 29 Jun 2005 10:45
by Guest
Hi Ikar
No the required file does not exist on my system, should it have been part of the download package ?
Thanks, Bill
Posted: Wed 29 Jun 2005 10:58
by Guest
This file aviable in the package and also you can make it self:
execute: dcc32 -jphn MyConnectForm.pas
Posted: Wed 29 Jun 2005 14:16
by Ikar
Yes, it is apart of installation. Please re-install MyDAC and check for this file availability.
What is the exact version of MyDAC that you use?
Posted: Wed 29 Jun 2005 15:57
by Guest
Hi Ikar and Guest, thanks for your advise.
The file was not included in the demo version that I downloaded last week.
I have now compiled as requested and all is well, I now have a demo program that I can use to test out Mydac.
If all goes well I shall purchase the program in the next few weeks.
Once again thanks for all your help.
Bill