Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP7 crashes on shutdown w/certain activex dlls
Message
De
27/09/2002 15:02:36
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
VFP7 crashes on shutdown w/certain activex dlls
Divers
Thread ID:
00705395
Message ID:
00705395
Vues:
48
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform