Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can I Run Other Window Application Or DLL by Win32API?
Message
 
À
19/03/1998 09:08:48
Larry Long
ProgRes (Programming Resources)
Georgie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00084742
Message ID:
00085633
Vues:
41
>>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?

I did a Quick View on the DLL and the function above is not in the export table.
George

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

Click here to load this message in the networking platform