Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can I Run Other Window Application Or DLL by Win32API?
Message
 
To
19/03/1998 09:08:48
Larry Long
ProgRes (Programming Resources)
Georgia, United States
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00084742
Message ID:
00085633
Views:
42
>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform