BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Bluetooth SDK encaspulation and irprops.cpl (problem with ex

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi VCL Components Writing
View previous topic :: View next topic  
Author Message
TheKeeper
Guest





PostPosted: Wed Nov 16, 2005 4:50 pm    Post subject: Bluetooth SDK encaspulation and irprops.cpl (problem with ex Reply with quote




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



Back to top
Riki Wiki
Guest





PostPosted: Sat Nov 19, 2005 12:45 pm    Post subject: Re: Bluetooth SDK encaspulation and irprops.cpl (problem wit Reply with quote



On Wed, 16 Nov 2005 18:50:17 +0200, TheKeeper wrote:

Quote:
Any ideas please?

Hoi

You need to repost your question on the Borland news server to make
everybody see it and possibly answer your question. Also use the newsgroup
b.p.d.vcl.components.writing.win32 group.

Take a look here:
<http://tinyurl.com/8m5nw>
which links to
<http://delphi.wikicities.com/wiki/Delphi_Newsgroups>

Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi VCL Components Writing All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.