Hi.
How can the different TOraSession component instances use
the same Oracle session?
TOraSession
TOraSession
Hi.
I have an application and a dynamic-link library. This modules use different TOraSession instances. Can I use only one Oracle session shared between the TOraSession instances (not using ShareMem unit)?
I have an application and a dynamic-link library. This modules use different TOraSession instances. Can I use only one Oracle session shared between the TOraSession instances (not using ShareMem unit)?
Sorry, it was my mistake, if You want to avoid using ShareMem unit in DLL then You need to realize AssignConnect functionality manually, i.e. pass all TOraSession properties to the DLL then create TOraSession instance and after that set its properties with passed ones, Also You must keep in mind that
you should avoid passing strings to DLL (use for example PChar).
you should avoid passing strings to DLL (use for example PChar).