Thread View: comp.lang.pascal.delphi.databases
1 messages
1 total messages
Started by Luc Bellego
Tue, 23 Mar 1999 00:00
connecting into a DLL, TeamB please
Author: Luc Bellego
Date: Tue, 23 Mar 1999 00:00
Date: Tue, 23 Mar 1999 00:00
26 lines
1884 bytes
1884 bytes
We have to put a TDatabase in a dll (to use as interface between application). We are using Interbase, MSSql and Oracle. After about 40 times to launch the dll we have an exception from Windows (with a lot of numbers in) and we must restart the computer. Did someone know a trick to put a TDatabase in a DLL ? More stuff about the bug : In a DLL we have only a TDatabase to create, in a Datamodule. The application have a procedure to initiate the connection with the DLL, this procedure do : 1) create the datamodule 2) open the database. Before that the application do a LoadLibrary(our library). After doing the call to the procedure we do a FreeLibrary in the application (the debug in the dll shows that all the frees are correct). Now do the same thing about 40 times and after the last you have the exception !!!!! Is a Delphi/BDE bug or a Windows'one ? Thanks for the help, Luc Bellego lbellego@gbinaire.com Gestion Binaire Inc. Laval, Canada
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads