Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Urgent:How to find other computer names in local domain
Message
De
20/10/1998 04:03:50
 
 
À
20/10/1998 02:32:07
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00147487
Message ID:
00148403
Vues:
38
>>But as per the msdn library documentation you cannot use that function on the Windows 95 . Alternatively you can use "mpr.dll" with functions WNetEnumResource() and wnetopenenum()
>
>You're right. Sorry...
>
>>, but it has some complications. like sending a NETRESOURCE structure by reference. Is it possible in VFP sending structures like that ?
>
>Yes. You can simulate almost any structure using a string. To send it by reference, just send the corresponding string by reference. The problem is that this structure contains pointers and, in order to get the strings pointed by those pointers, you'll need something like my Pointers class.
>
>> How can I use C code directly from Foxpro . If you have any example pl. send it. and also tell the additional files that I should have to do that.
>
>You cannot use C code directly. But you can build a DLL wrapper in C/C++. It is must easier to deal with these functions form C/C++ than from VFP.
>
>I played with these functions about 6 months ago. I will dig on my computer at work and if I still have that test program, I will send it to you. It's in C++.
>
>What do you mean by "additional files"?

It is my pointers class (the additional file) that is needed which u mentioned.
Pl. send the example that you have to my email-id

s_p_vedula@geocities.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform