Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
WNetAddConnection2
Message
De
28/12/2001 21:38:54
 
 
À
28/12/2001 16:46:59
Juan Carlos Gonzalez F.
Austin Reed Manufacturas - Arturo Calle
Pereira, Colombie
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00598986
Message ID:
00599051
Vues:
103
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform