| Reply | « Previous Thread | Next Thread » |
|
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 |
|
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 |
|
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 |
|
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 | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|