Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using STRUCT in VFP
Message
From
28/06/1999 22:57:20
 
 
To
28/06/1999 22:19:06
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00234488
Message ID:
00235073
Views:
20
>Hi,
> Thank you for reply. However, I don't understand with that too. Could you explain it in sample code....using SHFileOperation WINAPI.

You can't get at C++/OLE calling convention .DLLs directly in VFP; you'll need to write a wrapper .DLL or an .FLL to let FoxPro pass things as required to these types of APIs.

I'm afraid I don't sit up and beg or roll over and play dead on demand, either - you'll have to do some work yourself. I have no compelling reason or desire to write code for that particular API, either, since all the aspects of the API that I need are available through the Scripting.FileSystemObject OLE automation object of the Windows Scripting Host, which has been written up to death in various VFP publications over the past year or so, as well as discussed here on UT , and described in detail in the MSDN docs, available by subscription, as a part of the full Visual Studio package, or on-line through Microsoft's MSDN OnLine service.

The code in my classes describes the process of building, passing and translating a C-style structure in detail. Look at the structures I define, and compare what's done there to what you need to do.

Good luck.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform