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.
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.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.