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:
00425566
Vues:
10
George,

GetSystemDirectory() does return D:\WINNT\System32.

???

Ed

>>>I've run into this ShellExecute problem in Windows 2000 and wonder if anybody else has seen this or not. I'm using VFP 6.0 SP4, Windows 2000 Server, Office SP1.
>>>
>>>If I run this code:
>>>
>>>DECLARE Integer ShellExecute IN Shell32.dll LONG, STRING, STRING, STRING, STRING, LONG
>>>
>>>?ShellExecute(0,"Open","mailto:ehardin@hardin-soft.com?subject=test","","",1)
>>>
>>>I get the error: Title = "VFP6 - Entry Point Not Found" and Message = "The procedure entry point UninitializeCriticalSection could not be located in the dynamic link library KERNAL32.dll" The error occures when running the ?ShellExecute(... line.
>>
>>I hjave never seen this, and I have ShellExecute calls running on machines with all Win OSs. Has the machine been rebooted recently? This sounds like a broken dll...
>
>Erik,
>
>This part of Edmond's post caught my eye:
>
>"If, however, I include the path to shell32.dll as in
>DECLARE Integer ShellExecute IN d:\winnt\system32\Shell32.dll LONG, STRING, STRING, STRING, STRING, LONG"
>
>It works. I'm wondering if there's an environment problem. I'd be curious to see what GetSystemDirectory() returns.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform