Print Thread
How do you use ExternalLDA?
#622 06/19/00 10:28 PM
Joined: Jun 2000
Posts: 6
Scarborough, ON, CA
1
1Adi Offline OP
Member
OP Offline
Member
1
Joined: Jun 2000
Posts: 6
Scarborough, ON, CA
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.

Re: How do you use ExternalLDA?
#623 06/20/00 06:36 PM
Joined: Jun 2000
Posts: 6
Scarborough, ON, CA
1
1Adi Offline OP
Member
OP Offline
Member
1
Joined: Jun 2000
Posts: 6
Scarborough, ON, CA
Never mind... I think I figured it out myself.

Thanks.


Moderated by  support 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 7.1.33 Page Time: 0.126s Queries: 14 (0.079s) Memory: 2.4961 MB (Peak: 3.0393 MB) Data Comp: Off Server Time: 2024-05-01 15:38:22 UTC
Valid HTML 5 and Valid CSS