Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Releasing a reference to a 3rd party DLL

Status
Not open for further replies.

grets1219

Programmer
Jun 13, 2003
3
US
Would anyone know how to Release a reference to a 3rd party DLL in Clarion? I've tried PROP:Release (maybe I have the wrong syntax)? Looking for something comparable to Set Obj = Nothing in VB. Thanks!
 
Did not understand your question fully but if you have referenced it with &= then a &= NULL would work. If you have NEWed it than a DISPOSE(...) will work. Anyway, the syntax for PROP:Release is ?object{Prop:release} = True.

 
Will ?object{Prop:release} = True work for an OCX?
Thanks very much!
 
Yes, it is supposed to work. Why do you want to release the resource? Does is GPF b'cos you do no release it? OCX/OLE controls can be preset with the corresponding object by using the CREATE attribute OR dynamically set up by using the ?objectcontrol{prop:create} = 'objectnameORCLSID'. I have never used PROP:Release for any of the OCX/OLE control I have used so far and I have no GPFs. In certain cases I have used ?objectcontrol{prop:create} = '' before re-creating the object.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top