Hi All,
I am going to use some Bluetotoh API, should I include some special DLL
or just call it directly?
Best regards,
Boki. 4 5640
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.
>> 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"
> > 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" This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Thomas_Germany |
last post by:
I would like to develop a smart device bluetooth application for pocket PC
2003. As I know, Pocket PC 2003 includes the microsoft bluetooth stack. My
intention is to use the SDK from mircrosoft and...
|
by: Mulham |
last post by:
hi everybody...
im a c# developer , but im very new in bluetooth programming !
my questions are :
1. i searched on msnd and found many c# functions for bluetooth, but i dont
know wiether these...
|
by: Alvin Lau |
last post by:
Can I write pocket PC bluetooth program by using C# ?
It seems so difficult to find the library?
If it is possible , where can i find the reference of these kind of
program ?
*** Sent via...
|
by: henrycortezwu |
last post by:
Hi All,
I'm trying to connect to a virtual port (COM19, OUTGOING, "Bluetooth
Serial Port") using VS2005 System.IO.Ports.
When I ran the ff code below here's what happens.
1) VS2005 Compiles w/o...
|
by: Boki |
last post by:
Hi All,
I am going to use some Bluetotoh API, should I include some special DLL
or just call it directly?
Best regards,
Boki.
|
by: colin |
last post by:
Hi,
Im having a tiresome amount of trouble with using a bluetooth serial link.
The receiving end is a bluetooth-rs232 module conected to my embeded system.
The PC has a little usb bluetooth...
|
by: jabslim |
last post by:
excuse me, im a newbie programmer and i need a code on how to to be able to
send files from a mobile phone to a pc through bluetooth in vb.net
can anyone post a code here on how to detect a...
|
by: gringgos |
last post by:
hi, friends...
Currently i am doing a project based on bluetooth and Visual Basic 6.0. But i am unable to find any solution regarding bluetooth. But my supervisor gave her idea about do a code...
|
by: Z.K. |
last post by:
I know this is probably not the correct newsgroup, but I can't find
anywhere else that is appropriate to post it in.
I need to figure out how to write a bluetooth program to access a
bluetooth...
|
by: Dave Harry |
last post by:
I'm using the following code to determine the available serial ports:
ComboBoxPort.Items.Clear()
For Each sp As String In My.Computer.Ports.SerialPortNames
ComboBoxPort.Items.Add(sp)
Next
It...
|
by: DolphinDB |
last post by:
Tired of spending countless mintues downsampling your data? Look no further!
In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
|
by: ryjfgjl |
last post by:
ExcelToDatabase: batch import excel into database automatically...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: Vimpel783 |
last post by:
Hello!
Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
|
by: jfyes |
last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
|
by: ArrayDB |
last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: Defcon1945 |
last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome former...
| |