Forum > Databases

dblib.dll

<< < (2/5) > >>

BigChimp:
Screenshot seems to show you're not compiling but switching on the connected property to true while in design-time.

IIRC, the dll should then be in the Lazarus directory. Another alternative is to put it in the system directory, which I do on my dev machine.

When you compile the program, once again the dll needs to be in the search path (e.g. the system directory) or the executable directory.

This applies to all dlls used with Lazarus - or at least all database drivers.

anis2505:

--- Quote from: BigChimp on April 06, 2013, 01:56:57 pm ---Screenshot seems to show you're not compiling but switching on the connected property to true while in design-time.

IIRC, the dll should then be in the Lazarus directory. Another alternative is to put it in the system directory, which I do on my dev machine.

When you compile the program, once again the dll needs to be in the search path (e.g. the system directory) or the executable directory.

This applies to all dlls used with Lazarus - or at least all database drivers.

--- End quote ---

Hi sorry for waking this issue again from the dead BUT I have the dlls it's on my project directory side by side with the executable but no chance I did compiled lots of time but still the same error metioned by Zath

Thanks in advance

regards

marcov:
Read the comments better. If you set the connection's enable property to true designtime, then both the Lazarus IDE and the application must find the DLL.

anis2505:

--- Quote from: marcov on May 06, 2013, 08:02:12 pm ---Read the comments better. If you set the connection's enable property to true designtime, then both the Lazarus IDE and the application must fine the DLL.

--- End quote ---

Take it easy.
My problem isn't on open or closed connection my problem is the executable doesn't detect the dlls.

Pascaluvr:
Ansi - if the connection wasn't set to Open then Laz wouldn't need to find the DLL.

On a Windows 7 system (that I am guessing you have) - place the DLL in c:\Windows\SysWOW64

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version