Click here to Skip to main content
15,885,947 members
Please Sign up or sign in to vote.
4.20/5 (2 votes)
See more:
It's possible to install a device on the fly ???

I say device, a printer..., I have the driver, and all things, I just whant to install the device, and, when I close the program, I whant to remove the device.

Use C# or C/C++ ...

It's possible ? if yes, How I can make this ?
Posted
Comments
Sergey Alexandrovich Kryukov 7-Feb-13 9:08am    
Absolutely possible, but I don't think it's easy. Good question, anyway, my 5.
I wish I knew the answer. :-)
—SA
Alexandre Bencz 7-Feb-13 10:35am    
So, I have founded one solution look the code:
http://freetexthost.com/fvim2nmbam .... so, the solution is "simple", but, not work with me :( ... I need to use the rundll32 printui.dll,PrintUIEntry

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900