• Welcome, Guest. Please login.
October 25, 2021, 08:45:12 PM


Welcome to the SQLitening support forums!

Using SQLitening in two DLL's called from the same program

Started by Fim, February 05, 2011, 05:47:18 AM

Previous topic - Next topic


I have a program (PowerBasic) A.EXE which is calling U1.DLL and U2.DLL in order to
Fim W

Fred Meier

February 05, 2011, 11:08:57 AM #1 Last Edit: February 05, 2011, 01:15:45 PM by Fred Meier
QuoteMust I have a slConnect and a slOpen in both U1.DLL an U2.DLL?
No, you only want a single slConnect and a single slOpen per process (or
thread if multi-threading).  So the first Dll called must do the connect
and open.  If you don't know which Dll is called first then each Dll would
have something like the following:
      if parse$(slGetStatus(3), 2) = "0" then slConnect
   if isfalse slIsOpen then slOpen

QuoteAnd how about Set Number when I first do a


Fim W