Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Link to email
Message
From
06/03/1999 07:59:12
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
 
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00194055
Message ID:
00194814
Views:
19
Ed,

I get a "Cannot find entry point ShellExecute in the DLL" error when trying that. Is this a version thing or just me butchering the attempt? Is there a handy resouce for the uninitiated regarding the Win32 API calls?

Regards, Renoir

>>David, I tried the following and, likely due to my misunderstanding of API calls and associated programs, I get an error because it can't find the ShellExecute program. Is this in a fox tools library? Regards, Renoir
>
>No, ShellExecute is a Win32 API call:
>
>
DECLARE INTEGER ShellExecute IN WIN32API ;
>   INTEGER hWnd, ;
>   STRING @ lpOperation, ;
>   STRING @ lpFile, ;
>   STRING @ lpParameters, ;
>   STRING @ lpDirectory, ;
>   INTEGER nShowCmd
>
>>
>> declare long GetDesktopWindow in"win32api"
>> local hDCScreen
>> hDCScreen = GetDesktopWindow()
>> ? ShellExecute( hDCScreen, "open", "mailto:DavidFrankenbach@worldnet.att.net", "", "c:\", 1 )
>>
>>
>>>declare long GetDesktopWindow in"win32api"
>>>
>>>local hDCScreen
>>>
>>>hDCScreen = GetDesktopWindow()
>>>
>>>>I got an error with 'hDCScreen'?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform