Bluetooth Code example on windows XP

Hi,

I am not sure if this is right forum for asking this question. I am looking for a code example to create a communiation channel using Bluetooth on windows XP. I have searched in msdn online. It seems that there are 2 ways. The first one is using winsock and the other one is using direct Bluetooth api. However, I haven't found any code example for them. I suppose that winsock programming would be quite similar to classical socket programming. However I would appreciate a Bluetooth specific example. Regarding the other method (using bluetooth api) I haven't found any example at all neither in msdn nor on the web. Msdn provides examples for windows CE but windows XP is completely ignored (beside presenting the api).

Thanks in advance

[751 byte] By [Sam43] at [2008-1-6]
# 1
You are right that this isn't the right forum :-)

See http://msdn.microsoft.com/library/default.asp?url=/library/en-us/bluetooth/bluetooth/about_bluetooth.asp for working with BlueTooth on the desktop

On Windows CE, see http://msdn.microsoft.com/embedded/usewinemb/ce/sharedsrccode/west/default.aspx
for a managed API to BlueTooth

SriramKrishnanMSFT at 2007-9-28 > top of Msdn Tech,Smart Device Development,Smart Devices Native C++ Development...
# 2
Thanks for the link. However, this links refers to msdn material that I have aleardy mentioned in my first post which lacks the code example! :-)

Sam43 at 2007-9-28 > top of Msdn Tech,Smart Device Development,Smart Devices Native C++ Development...
# 3
Are there any examples out there that use the Windows BT API on the desktop?
AdamWest at 2007-9-28 > top of Msdn Tech,Smart Device Development,Smart Devices Native C++ Development...