Which one is the Bluetooth DLL?

  • Thread starter Thread starter Boki
  • Start date Start date
B

Boki

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 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/d...oth/windows_sockets_support_for_bluetooth.asp
http://msdn.microsoft.com/library/d...-us/APISP/html/sp_ppc_bluetooth_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
(e-mail address removed)
Remove only "_nos_pam"
 
Bruno said:
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/d...oth/windows_sockets_support_for_bluetooth.asp
http://msdn.microsoft.com/library/d...-us/APISP/html/sp_ppc_bluetooth_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
(e-mail address removed)
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.
 
I don't know what you mean by 'call directly'. but
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/d...oth/bluetooth/bluetooth_and_wsasetservice.asp
which has a description of the function, together with the information that
you need.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winsock/winsock/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
(e-mail address removed)
Remove only "_nos_pam"
 
Hi,
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/search/default.aspx?siteId=0&tab=0&query=bluetooth+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.
(e-mail address removed)
Remove only "_nos_pam"
 
Back
Top