By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,559 Members | 1,154 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,559 IT Pros & Developers. It's quick & easy.

Which one is the Bluetooth DLL?

P: n/a
Hi All,

I am going to use some Bluetotoh API, should I include some special DLL
or just call it directly?

Best regards,
Boki.

May 6 '06 #1
Share this Question
Share on Google+
4 Replies


P: n/a
> Hi All,

I am going to use some Bluetotoh API, should I include some special DLL
or just call it directly?

Best regards,
Boki.


Hi,
I don't know what you mean by 'call directly'. but
if you are using the microsoft bluetooth api, then this could help you:
http://msdn.microsoft.com/library/de..._bluetooth.asp
http://msdn.microsoft.com/library/de..._api__amdi.asp

if you are using a 3d part API, then consult the API manual on how to
configure your poject.
it is also possible to configure a bluetooth device as a serial port or
tcpip port

There are also a couple of examples on www.codeproject.com

--

Kind regards,
Bruno van Dooren
br**********************@hotmail.com
Remove only "_nos_pam"
May 7 '06 #2

P: n/a

Bruno van Dooren wrote:
Hi All,

I am going to use some Bluetotoh API, should I include some special DLL
or just call it directly?

Best regards,
Boki.


Hi,
I don't know what you mean by 'call directly'. but
if you are using the microsoft bluetooth api, then this could help you:
http://msdn.microsoft.com/library/de..._bluetooth.asp
http://msdn.microsoft.com/library/de..._api__amdi.asp

if you are using a 3d part API, then consult the API manual on how to
configure your poject.
it is also possible to configure a bluetooth device as a serial port or
tcpip port

There are also a couple of examples on www.codeproject.com

--

Kind regards,
Bruno van Dooren
br**********************@hotmail.com
Remove only "_nos_pam"


Hi,

To explain my question:

For example, I want to use CallWindowProc, I have to use "use32.dll",
if I want to call Bluetooth APIs, which DLL should I use ?

Declare Function CallWindowProc Lib "user32" Alias "CallWindowProcA" _
(ByVal lpPrevWndFunc As Long, ByVal hWnd As Long, _
ByVal Msg As Long, ByVal wParam As Long, _
ByVal lParam As Long) As Long
Best regards,
Boki.

May 7 '06 #3

P: n/a
>> I don't know what you mean by 'call directly'. but
if you are using the microsoft bluetooth api, then this could help you:
http://msdn.microsoft.com/library/de..._bluetooth.asp
http://msdn.microsoft.com/library/de..._api__amdi.asp

if you are using a 3d part API, then consult the API manual on how to
configure your poject.
it is also possible to configure a bluetooth device as a serial port or
tcpip port

There are also a couple of examples on www.codeproject.com

--

Kind regards,
Bruno van Dooren
br**********************@hotmail.com
Remove only "_nos_pam"


Hi,

To explain my question:

For example, I want to use CallWindowProc, I have to use "use32.dll",
if I want to call Bluetooth APIs, which DLL should I use ?

Declare Function CallWindowProc Lib "user32" Alias "CallWindowProcA" _
(ByVal lpPrevWndFunc As Long, ByVal hWnd As Long, _
ByVal Msg As Long, ByVal wParam As Long, _
ByVal lParam As Long) As Long
Best regards,
Boki.


Hi Boki,

If you look up the individual functions that you want to use (for example
the accept function) you will also get information as to which header to
include, lib to link to and dll will be used.
for example, this page links to the accept function:
http://msdn.microsoft.com/library/de...setservice.asp
which has a description of the function, together with the information that
you need.
http://msdn.microsoft.com/library/de...k/accept_2.asp

You also might want to search on codeproject for some examples that might
save you some time.
--

Kind regards,
Bruno van Dooren
br**********************@hotmail.com
Remove only "_nos_pam"
May 7 '06 #4

P: n/a
> > Hi,
I don't know what you mean by 'call directly'. but
if you are using the microsoft bluetooth api, then this could help you:
http://msdn.microsoft.com/library/de..._bluetooth.asp
http://msdn.microsoft.com/library/de..._api__amdi.asp

if you are using a 3d part API, then consult the API manual on how to
configure your poject.
it is also possible to configure a bluetooth device as a serial port or
tcpip port

There are also a couple of examples on www.codeproject.com

--

Kind regards,
Bruno van Dooren
br**********************@hotmail.com
Remove only "_nos_pam"


Hi,

To explain my question:

For example, I want to use CallWindowProc, I have to use "use32.dll",
if I want to call Bluetooth APIs, which DLL should I use ?

Declare Function CallWindowProc Lib "user32" Alias "CallWindowProcA" _
(ByVal lpPrevWndFunc As Long, ByVal hWnd As Long, _
ByVal Msg As Long, ByVal wParam As Long, _
ByVal lParam As Long) As Long

Hi,
you can also get bluetooth devices to act as serial ports in windows.
That way you can easily communicate with them using the serial port .NET
class.
That might be mugh easier than having to muck about with socket functions.

These articles might help you with that.
http://search.msdn.microsoft.com/sea...th+serial+port

http://www.devx.com/dotnet/Article/31001
http://msdn2.microsoft.com/en-us/library/ms228841.aspx
http://sharewareconnection.com/bluetooth-net.htm

--

Kind regards,
Bruno.
br**********************@hotmail.com
Remove only "_nos_pam"

May 8 '06 #5

This discussion thread is closed

Replies have been disabled for this discussion.