Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ShellExecute error under Windows 2000
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00425302
Message ID:
00425656
Vues:
20
>>>George,
>>>
>>>GetSystemDirectory() does return D:\WINNT\System32.
>>>
>>>???
>>>
>>Ed,
>>
>>It's a kludge but it may be necessary. Call the function to return the system directory (for portability), then something like
lcshell = ADDBS(lcsysdir) + "Shell32.dll"
>>DECLARE INTEGER ShellExecute IN (lcshell);...
where lcsysdir is the value returned by GetSystemDirectory().
>
>
>I might have to do that just to get it to work on my machine and I guess that it will do no harm having the extra code. I sure wish that I knew what was causing this, however. Have you installed Office 2K SP1 yet by any chance? That is the only difference that I can tell between me and Erik. I have SP1 and he doesn't.
>
>Ed

Yeah I have, but I'm running Win98SE rather than Win2K. I don't have this sort of problem. If you need me to check something, let me know.

BTW, why don't you try the WScript.Shell's Run method just to see if that works OK?
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform