Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9021

Re: OLE Resuorce release

$
0
0

I believe that you achieve that with:

  • disconnectobject
  • destroy command on your obect instance..

So if ole_1 is your object you should write:

 

ole_1.disconnectobject()

if isvalid(ole_1) then destroy ole_1.

 

But this doesn't do anything for the files in use from your ole object, That check should be on the  ole object destructor (not in pb) and I don't know if this is the case. It's the object creator who can do that kind of check in that event....

 

Andreas.


Viewing all articles
Browse latest Browse all 9021

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>