Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Win95 network API -- WNetAddConnection2
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00085817
Message ID:
00085827
Vues:
30
>I'm close to getting an API to work,
>but after quite a bit of trying, I could
>another little nudge.
>
> I'm converting a 2.6 legacy app to VFP 5.0
>and it uses WNetAddConnection.
> I know I have to use WNetAddConnection2 for
>Win95.
>
>On the MSDN CD, the function requires
>lpNetResource, lpPassword, lpUsername, and dwFlags
>
> I believe I can leave the password and username
>blank, but NetResource is supposed to point to
>a "structure that specifies connection details",
>and Flags is supposed to be Dword.
>
> So, could anyone nudge me on this?
>
> I think if you could give me a one line
>example of the structure of the function, I
>might be able to pick out what I need.
>
>Thanks,
>Tom

Tom,

You don't *have* to use WNetAddConnection2. WNetAddConnection still works just fine.

hth,
George

Ubi caritas et amor, deus ibi est
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform