Information générale
Catégorie:
COM/DCOM et OLE Automation
Funny I never ran into this before.
I need my VFP8 DLL (a MTDLL running inside a COM+ Server Package) to know the exact filesystem path it is using. But while I am debugging the actual main.prg in the IDE, I need to know the current path of the prg that is running. Just doing Sys(16) either gives me the IDE EXE location or my %windir%\system32 directory.
The reason is I am trying to load a config file at Init() to get some basic operation parameters, and it seems like I can never find the file.
Help?
Thanks.
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement