You Are Here:

Community: Developer Discussion Boards

#1 Old Unresolved external RSocketServ()... - 2003-05-08, 04:25

Join Date: Apr 2003
Posts: 7
HershD
Offline
Registered User
Hi,

Thanks (seppo_fn) for pointing out how to go about doing device discovery by hand. I did find a help document in the SDK documentation entitled "How to inquire about remote devices".

I copy-pasted the code given there into the BTDiscovery example's btdiscvorer.cpp file (in the SelectDeviceL()) function), basically replacing the previous contents of the function. I made a few changes to the given code to fix some a couple of the compile errors I was getting. I included the "es_sock.h" file and the "bttypes.h" file. For some reason, I still get the error "Unresolved external RSocketServ()..." wherever RSocketServ is used in the file. RSocketServ is defined in es_sock.h, so I don't know why its not being able to find it. Do I need to do some linking to get the code to find RSocketServ? The weird thing is that RHostResolver is also defined in es_sock.h, and there are no errors with that.

Anybody have any idea why this might be happening? I haven't used Borland's C++ Builder before, so am a bit lost. I haven't changed any of the default settings that came with the BTDiscovery project and the unchanged version compiled just fine.

Thanks in advance,
Hersh
Reply With Quote

#2 Old 2003-05-22, 11:55

Join Date: Mar 2003
Posts: 3
viracocha
Offline
Registered User
Hello,

I am trying to do something similar, and have come upon that same help file. I have tried that code but have the same problem as you. I've tried including esock.lib in the link options but to no avail. If you have found a solution could you please let me know? Or if someone else has any idea of what it could be, I'd greatly apreciate it.

Thanks in advance,
Pedro Marques
Reply With Quote

#3 Old 2003-05-30, 05:37

Join Date: Apr 2003
Posts: 7
HershD
Offline
Registered User
Pedro,

Open up the .mmp file that is part of your project...should be in the group or inc directories.

Add the library you need to the section of the .mmp file where all the libraries are mentioned...and recompile..it should work..

- Hersh
Reply With Quote

#4 Old 2003-06-02, 10:37

Join Date: Mar 2003
Posts: 3
viracocha
Offline
Registered User
Hello :),

Many thanks for the reply, although I had stumbled onto the solution myself a couple days ago. I appreciate it though :)

Pedro Marques
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia