Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DLL Question
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Divers
Thread ID:
00227742
Message ID:
00227774
Vues:
22
>If I add a method to a DLL to open a table and
>return a value, the table is closed automatically
>when I come back out of the DLL, even though the
>DLL was instantiated in the same datasession.
>
>If I open the table before I go into the DLL and
>pass in the alias, I get an 'alias not found' OLE
>error from the dll.
>


It sounds like your in-process server is based on a form class with a private datasession. If this is the case, then the form is instantiating it's own DE with its own datasession just like any other form with a private datasession...


>So why is the DLL closing the table or not seeing
>it at all? Whats the solution here?
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform