Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Releasing a reference to a 3rd party DLL

Releasing a reference to a 3rd party DLL

Releasing a reference to a 3rd party DLL

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!

RE: Releasing a reference to a 3rd party DLL

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.

RE: Releasing a reference to a 3rd party DLL

Will ?object{Prop:release} = True work for an OCX?
Thanks very much!

RE: Releasing a reference to a 3rd party DLL

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.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close