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
Titre:
Win95 network API -- WNetAddConnection2
Divers
Thread ID:
00085817
Message ID:
00085817
Vues:
94
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 Hayward, Visual FoxPro Programmer and Tutor
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform