Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems with VFP dll in Excel
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00463519
Message ID:
00464132
Views:
30
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
Previous
Reply
Map
View

Click here to load this message in the networking platform