Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
AddPort
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows NT
Database:
Visual FoxPro
Divers
Thread ID:
00995563
Message ID:
00995616
Vues:
20
>Hi Gunnar,
>
>> this has to happen in the background. if i read this right "AddPortEx()" is the function to be used.
>
>Hmm, my MSDN documentation says that AddPortEx is only for use with Windows NT 4.0 and it's optional for port monitors to implement. I'm not sure if port monitors that come with later versions still support this function.
>
>>do you know how to do this?
>
>No, unfortunately I don't. Adding printers on the fly is something I haven't yet had to do. However, the documentation for AddPort suggests, that XcvData can be used to add a port without user invention.


hmm, didn't see that about the Nt4, oh well, ja doesn't look like this is gonna work.

but Sergey just replied to me with a very interesting article from Rick talking about "PrintUi.dll". this looks like it'll do anything i need (and esyear then my approach). i was worried that its limited to a 'some' windows versions only. but Rick, at the end of the article, talks about Windows 98 and Nt, so i think its ok, got to test it.

Thanks Christof & Sergey!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform