Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Possible Bug in COM DLL's
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00561683
Message ID:
00561684
Vues:
21
>I have found what I think is a possible bug in multi-threaded COM components.
>
>My component is running under COM+ on Win2k sp1. The DLL makes some calls to
>SQL Server 7.0 stored procedures and returns the results to the client either
>as a discrete value or as an XML string.
>
>My test client makes 4 calls to the component. In the first 2 calls, the HOME()
>directory is reported as the directory where the .DLL is physically located.
>The next 2 calls report HOME() as C:\Program Files\Common Files\Microsoft Shared\VFP\
>(IOW, the directory where the runtime is located.) SYS(2004) does the same thing but
>CURDIR() always reports \WINNT\SYSTEM32\ and SYS(16,1) always returns the proper
>setting.
>
>If HOME() returns the directory where VFP was started why would it sometimes
>return the directory where the COM .DLL is located?

Is that what your client program is reporting for HOME()? That is weird.

In any case, to find out an EXE or DLL's home directory try using _VFP.Servername instead.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform