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

Click here to load this message in the networking platform