General information
Category:
COM/DCOM and OLE Automation
Title:
VFP7 crashes on shutdown w/certain activex dlls
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only