Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problems with VFP dll in Excel
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00463519
Message ID:
00464132
Vues:
29
Hi again Barbara,

I've done some more testing, but I haven't got the DLL to work yet.

I thought that maybe the DLL wasn't being released because of maybe a dangling object reference. However, if I put the following in the destroy method of my object:

DISPLAY MEMORY TO FILE C:\MATT.TXT NOCONSOLE
DODEFAULT()

I get the following:

0 variables defined, 0 bytes used
1024 variables available

Print System Memory Variables

*// Normal system variables

Menu and Pad Definitions
0 Menus Defined

Popup Definitions
0 Popups Defined

Window Definitions
0 Windows Defined

So I'm assuming that there is nothing there to stop the object from being destroyed.

Also, once I have used the dll in Excel, I can't rebuild the dll in VFP until I close Excel. So, the file seems to be held open when used in Excel.

Any ideas ?

Best.

Matt
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform