I am attempting to interface to the SDK from within a VB.net application in VS2010. I tried to encapsulate the functions that I needed in the SDK from within a DLL but I am getting the following error during the linking process:
Error 6 c:\Users\Sam\documents\visual studio 2010\Projects\BT1\BT1\BT1.obj error LNK2019: unresolved external symbol "long __cdecl Btsdk_BrowseRemoteServices(unsigned long,unsigned long *,unsigned long *)" (?Btsdk_BrowseRemoteServices@@YAJKPAK0@Z) referenced in function "char * __cdecl processBTMessage(int)" (?processBTMessage@@YAPADH@Z) BT1
I get this error for every single function within the SDK that I am attempt to call. In fact, I am not even able to duplicate the example project (which is just a console app). Trying to create a console application from scratch also fails to link to any of the SDK functions. I am at a loss to explain the difference between the example application and my application (which simply attempts to call a single function. The linker fails to find the functions every single time but I am able to compile the sample application without error and it executes. As far as I can see, everything is identical.
Any guidance from someone that has gone through this pain and succesfully resolved the issue would be greatly appreciated.
I am not holding my breath since there is no end to people that have asked questions and there appears to be little help from BlueSolil.
Sam