Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can I Run Other Window Application Or DLL by Win32API?
Message
De
19/03/1998 09:08:48
Larry Long
ProgRes (Programming Resources)
Georgie, États-Unis
 
 
À
16/03/1998 00:01:38
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00084742
Message ID:
00085624
Vues:
32
>To run an EXE, use the ShellExecute Win32API function.
>
>To execute DLL functions, there's no need to use Win32 API functions. Just take a look to the DECLARE - DLL command in the VFP's Help.
>
>Vlad
>
>>Using RUN or ! on command can run the shell command.
>>But of cos, so poor if you want to open WinZip32 but a Dos Prompt
>>comes out first!! ~_~"
>>2nd, if possible to call DLL functions?!
>>In case you know what function the DLL provides...
>>Such as other VB self make DLL!
>>
>>Of cos, if success, then find out how to use systray or some other
>>window provided utilties... ^_^;
I am trying to use the WININET.DLL functions to autodial to the internet using the following code below...

DECLARE INTEGER InternetGetConnectedState IN c:\windows\system\wininet.dll
clear
? InternetGetConnectedState()

But I get a "Unable to find entrypoint" error. Any suggestions?
L.A.Long
ProgRes
lalong1@charter.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform