TheKeeper
2005-11-16 16:50:17 UTC
Hi everybody.
I am writing a component, encapsulating the functionality of the Bluetooth
windows API.
There are 2 ways to work with bluetooth. One is to use the windows sockets
and other is
to use the Bluetoothxxxxxxxxxxx functions group which lives in the ->
irprops.cpl <-
The problem is that i can use some functions from the irprops.cpl like
BluetoothFindFirstDevice
but i CANT use others like : BluetoothRegisterForAuthentication.
When i say i cant use i mean that i cant 'find' them (or i cant find the
right address of the functions).
For example the declaration from the previus function is
function BluetoothRegisterForAuthentication; external btapi name
'BluetoothRegisterForAuthentication';
taken from the jedi windows api include files.
It should work, but it does not. I get an AccessViollation the moments that
i call the function!!!
if i get a pointer to the function with GetProcAddress api call still i have
the same problem. I have a value (an address)
but the address is wrong....
Any ideas please? Had anyone any problems with the irprops.cpl and solved
them by version changing?
Thanx.
TheKeeper
I am writing a component, encapsulating the functionality of the Bluetooth
windows API.
There are 2 ways to work with bluetooth. One is to use the windows sockets
and other is
to use the Bluetoothxxxxxxxxxxx functions group which lives in the ->
irprops.cpl <-
The problem is that i can use some functions from the irprops.cpl like
BluetoothFindFirstDevice
but i CANT use others like : BluetoothRegisterForAuthentication.
When i say i cant use i mean that i cant 'find' them (or i cant find the
right address of the functions).
For example the declaration from the previus function is
function BluetoothRegisterForAuthentication; external btapi name
'BluetoothRegisterForAuthentication';
taken from the jedi windows api include files.
It should work, but it does not. I get an AccessViollation the moments that
i call the function!!!
if i get a pointer to the function with GetProcAddress api call still i have
the same problem. I have a value (an address)
but the address is wrong....
Any ideas please? Had anyone any problems with the irprops.cpl and solved
them by version changing?
Thanx.
TheKeeper