Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Destroying a COM object variable throws an error.


1 reply to this topic

kirann_hegde

kirann_hegde
  • Full Members
  • 93 posts

Posted 05 December 2009 - 07:42

I am instantiating and destroying a COM object in the OnEnd() event handler.
The instantiation of the COM object is fine and also i am able to call the functions properly.

However as i try to destroy my COM object variable by setting it to NOTHING, i get the following error:

Member not found.

Is there any limitation as to destroying COM object references in the OnEnd event handler? Is this really required as the object variable is a local variable and will go ouot of scope as the function exits?

Any help would be very much appreciated.

Taco Bell

Taco Bell

    IS6 Expert

  • Moderators
  • 1,281 posts

Posted 07 December 2009 - 23:08

I haven't used a COM object in IS before, but to confirm your theory, have you tried to simply destroy it earlier?
user posted image