Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
WNetAddConnection2
Message
From
28/12/2001 21:38:54
 
 
To
28/12/2001 16:46:59
Juan Carlos Gonzalez F.
Austin Reed Manufacturas - Arturo Calle
Pereira, Colombia
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00598986
Message ID:
00599051
Views:
102
>Hi everybody.
>
>Any one of you have used the WNetAddConnection2 API Function with VFP, i´m having some problems figuring out how to build a NETRESOURCE string in VFP.
>

Download my NETRESOURCE and CLSHEAP classes from the Files section - NETRESOURCE uses ClsHeap to construct the necessary data structure and manipulate it in static memory relying on ClsHeap to allocate static blocks and resolve indirected strings and structures; there's a working example of WNetAddConnection3 accompanying the class.

>NETRESOURCE can be build in VB or VC but VFP doesn´t support that C structures, so we have to make a string having the contents of that structure.
>
>Which is the best practice : Write all my code on VFP ? or Write a sepparate DLL or EXE in C with that Functions ?
>
>Thanks.
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
Next
Reply
Map
View

Click here to load this message in the networking platform