Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What the f... is this now
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01048571
Message ID:
01051278
Views:
20
>
> Thanks, Frank. Your new version works fine for me and I don't have to change my code.
> Also is it OK to remove version6 from the IconBuddy.vcx? I did so in my version.
>

Yes. IconBuddy6 is for VFP6-users. Some of the api-calls do not work the same way there. an external dll is needed to make that work. this is what version6 is for. So if You're using 7+ You're fine without it. 6 is inherited from IconBuddy. So nothing can happen.

Good it works now - thanks for the tip

>
> One more question: if I use thisform.oIconBuddy = newobject(...) I have to
> do thisform.oIconBuddy = null in form's destroy, right?
>

I am not using any OLE-Controls in it, so it should be ok to leave it out, it will be destroyed automatically. But I prefer to do a proper cleanup and garbage collection. In IconBuddy's destroy, dll's get released and temporary icons erased from disk. So, I would give it the time it needs to do its cleanup by issuing a deliberate this.oIconBuddy = null.
Regards from Berlin

Frank

Dietrich Datentechnik (Berlin)
Softwarekombinat Teltow (Teltow)

Frank.Dietrich@dd-tech.de
DFPUG # 327
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform