Click here to Skip to main content
15,887,267 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
i have 2 Bluetooth
1. PC dongle and 2. Mobile Bluetooth Device of same make

in normal installation we goto Control Panel and do add device ,this device directly gets added in the system and pair with each other without using any key.

i want to automate this by getting event from the OS that the device is inserted to the system so that i will start my exe,dll..which will install device without giving control panel window?

How can this be done?

Thanks in Advance :)
Posted
Updated 20-Oct-11 22:17pm
v2

1 solution

You need to implement Plug & Play[^] for automatic installation.
 
Share this answer
 
Comments
01.mandar 1-Nov-11 3:26am    
thanks :)
plug and play documents helped me in solving COM port detection.

i am using WM_DEVICECHANGE to detect hardware
after that i want to check if it is the same bluetooth device which i want to install (i dont know how it can be done though)
may be i need to enter device information in registry during install process
i have written a code which does Bluetooth communication (works correctly if device is install)


need some pointers to know the process of installing a device manually....
Richard MacCutchan 1-Nov-11 4:30am    
Sorry, but I have not done this myself; I just know that Plug & Play is the Microsoft way. I guess you need to use Google to find white papers on the subject.
01.mandar 1-Nov-11 3:43am    
may be http://msdn.microsoft.com/en-us/library/ff728835.aspx

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