TOracleSession in an DLL

In a DLL with CBuilder5 I create an TOracleSession dynamicly (with new).
When I use this DLL in my Application an use in this Application also an TOracleSession I became at Runtime the Errormessage "Can't find class TOracleSession".
When I link the DLL with Runtime Packages it work fine, but I must link the DLL without Runtime Packages (link static).
Is there an way to do that??

Thanks
 
If I remember correctly, there might be an issue with the Project option "Use dynamic RTL" in C++Builder. Could you change this option (on the Linker page) and check if this helps? It's just a vague recollection though, because I can't find any information about this in my records.

------------------
Marco Kalter
Allround Automations
 
Only the Compiler Switch (CBuilder5,sp1) Projectoption / Package / "Compile with Runtime Package " = off is the Reason for this Message "TOracleSession Class not Found"

The Compiler Switch Projectoption / Linker / "Dynamic RTL" = off/on has no Effect for this Errormessage.

The Exception of this error will generate bei Exception EClassNotFound in Borlands form.hpp

Is there an way to use TOracleSession in DLL and link this without Runtimepackages and use in the Exe-Programm also TOracleSession?
 
Back
Top