Hi Nguyen,
This project allows Windows CE/Mobile emulator launched from Visual Studio to access host's Bluetooth USB dongle. If no real Bluetooth USB dongle is attached to your host computer this project is useless.
Therefore you could emulate a Bluetooth device but not with this project. You should read the following articles:
http://blogs.msdn.com/cenet/archive/2005/08/18/453150.aspx
http://msdn.microsoft.com/en-us/library/ms881004http://www.codeproject.com/KB/windows/bth_serial_port.aspx
In particular the last link is an example of a guy who did it and wrote his experience on
codeproject.comThe whole idea is that on the top of Microsoft's Bluetooth stack there is a COM port and is explained in detail on the Microsoft links I gave you. You could create a virtual COM port which should act like a physical Bluetooth device and on top of this Virtual COM you link Microsoft's Bluetooth library like in this example:
HANDLE h = RegisterDevice (L"COM", index, L"btd.dll", (DWORD)&pp);
where the COM port is the virtual COM port you just created.
Sandu
P.S. Hope my email was helpful enough for you. Now sincerly I think that Dimitry did a great job and an Bluetooth USB dongle is not a great financial deal and I would recommend his approach because you can really test your application.
--
+40 (740) 472669 - Orange - mobile
+40 (771) 765679 - Digi.mobil - mobile
+40 (332) 469679 - Digi.tel - fix home