Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP7 crashes on shutdown w/certain activex dlls
Message
From
27/09/2002 15:02:36
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
VFP7 crashes on shutdown w/certain activex dlls
Miscellaneous
Thread ID:
00705395
Message ID:
00705395
Views:
47
I've got a bunch of ActiveX dlls written in VB6 that access other controls or objects. I have a huge app in VFP7 that uses these DLLs, and when shutting down VFP it crashes -- I get the "an error has occurred" dialog. I had this problem with VFP6, and then it went away for the most part when I went to 7, but now it has come back.

For example, I use Crystal Reports to create some PDFs that then get e-mailed. VFP6 could not fully interface to Crystal, since it could not sink Crystal's events, so I write a DLL in VB6 to handle it. Functionally, it worked, but upon shutting down VFP it would crash. I had to convert my VB6 DLL to a stand-alone EXE and use DDE to control it, and the crashing went away. It still crashed when I just converted the ActiveX DLL to an ActiveX EXE.

When I access my VB DLLs from an EXE written in VB, there is no crashing. It appears that VFP just isn't handling something coming back from the DLLs.

Any suggestions? I've tried the knowledge base, but could not find anything helpful.

Thank you in advance for you help.

Seth Perelman
Next
Reply
Map
View

Click here to load this message in the networking platform