Information générale
Catégorie:
COM/DCOM et OLE Automation
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement