Hello,
I'm trying to use ExternalLDA when working with an EXE and a DLL.
I'm saving the ExternalLDA property in a pointer variable in the EXE and I'm trying to pass it to the DLL (crash).
At this point, the documentation is not very clear:
'The host program owns the TOracleSession and can pass it to the DLL through an external initialization procedure
in the DLL.'
1. What does 'external initialization procedure' mean? Could you give me an example -- a small procedure?
2. According to the documentation, the ExternalLDA property of TOracleSession is of type pointer, whereas the Session property of TOracleQuery is of type TOracleSession. How do I assign a pointer to a Session property? I tried a typecast but it crashes.
Thanks in advance.