Click here to Skip to main content
15,900,258 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralHelp Pin
Timothy Grabrian6-Sep-04 8:21
professionalTimothy Grabrian6-Sep-04 8:21 
GeneralRe: Help Pin
Jon Hulatt6-Sep-04 10:34
Jon Hulatt6-Sep-04 10:34 
GeneralAddFontResource + pfm && pfb Pin
globus0006-Sep-04 5:02
globus0006-Sep-04 5:02 
GeneralRe: AddFontResource + pfm && pfb Pin
Mike Dimmick6-Sep-04 13:01
Mike Dimmick6-Sep-04 13:01 
GeneralLibrary: converting to/from UTF-x Pin
peterchen6-Sep-04 4:34
peterchen6-Sep-04 4:34 
GeneralRe: Library: converting to/from UTF-x Pin
DrusTheAxe6-Sep-04 4:55
DrusTheAxe6-Sep-04 4:55 
GeneralRe: Library: converting to/from UTF-x Pin
peterchen6-Sep-04 7:23
peterchen6-Sep-04 7:23 
GeneralBlueTooth communication Pin
eli150219796-Sep-04 4:31
eli150219796-Sep-04 4:31 
hi,
i'm tring to set up BlueTooth communication between 2 PDA's.
in my client side,i wrote this part of code:

WSAQUERYSET Wsaq;
ZeroMemory(&Wsaq,sizeof(Wsaq));
Wsaq.dwSize = sizeof(Wsaq);
Wsaq.dwNameSpace = NS_BTH;
Wsaq.lpcsaBuffer = NULL;
if(WSALookupServiceBegin(&Wsaq,LUP_RETURN_ALL ,&hlookup) == SOCKET_ERROR)
{
ErrorValue = WSAGetLastError();
ErrorString.Format(_T("%d"),ErrorValue);
AfxMessageBox(TEXT("WSALookupServiceBegin() Error
Number ")+ ErrorString);
return;
}
.
.
.


also,in my header file there is #include<winsock2.h> & i've imported ws2.lib,
but i always gets this error:

BTexampleDlg.obj : error LNK2019: unresolved external symbol "int __cdecl
WSALookupServiceBeginW(struct _WSAQuerySetW *,unsigned long,void * *)"
(?WSALookupServiceBeginW@@YAHPAU_WSAQuerySetW@@KPAPAX@Z) referenced in
function "protected: void __cdecl CBTexampleDlg::Onstart(void)" (?
Onstart@CBTexampleDlg@@IAAXXZ)
ARMV4Rel/BTexample.exe : fatal error LNK1120: 1 unresolved externals

(i've got the same error with WSALookupServiceNext() function and
WSALookupServiceEnd() function).

can someone please help me?
my email is : Eliv@Roadeye.co.il

thanks,eli.
GeneralRe: BlueTooth communication Pin
Trollslayer6-Sep-04 5:11
mentorTrollslayer6-Sep-04 5:11 
GeneralRe: BlueTooth communication Pin
Ryan Binns6-Sep-04 18:43
Ryan Binns6-Sep-04 18:43 
GeneralCEdit question Pin
0v3rloader6-Sep-04 4:08
0v3rloader6-Sep-04 4:08 
Generalaccessing Windows Files .. Pin
Sudhakar Pasupunuri6-Sep-04 3:58
Sudhakar Pasupunuri6-Sep-04 3:58 
GeneralRe: accessing Windows Files .. Pin
Ryan Binns6-Sep-04 19:04
Ryan Binns6-Sep-04 19:04 
GeneralRe: accessing Windows Files .. Pin
Sudhakar Pasupunuri6-Sep-04 19:32
Sudhakar Pasupunuri6-Sep-04 19:32 
GeneralRe: accessing Windows Files .. Pin
Ryan Binns6-Sep-04 20:39
Ryan Binns6-Sep-04 20:39 
GeneralHelp Pin
verma-rahul6-Sep-04 3:55
verma-rahul6-Sep-04 3:55 
GeneralRe: Help Pin
Christian Graus6-Sep-04 12:20
protectorChristian Graus6-Sep-04 12:20 
QuestionHow to hide the &quot;index&quot; pane of the help widow using HtmlHelp? Pin
YunYan6-Sep-04 3:17
YunYan6-Sep-04 3:17 
Generalstatic function Pin
Dev5786-Sep-04 3:15
Dev5786-Sep-04 3:15 
GeneralRe: static function Pin
Joaquín M López Muñoz6-Sep-04 4:22
Joaquín M López Muñoz6-Sep-04 4:22 
GeneralFinding a Directory Pin
si_696-Sep-04 2:46
si_696-Sep-04 2:46 
GeneralRe: Finding a Directory Pin
Arsalan Malik6-Sep-04 3:03
Arsalan Malik6-Sep-04 3:03 
GeneralRe: Finding a Directory Pin
Timothy Grabrian6-Sep-04 8:28
professionalTimothy Grabrian6-Sep-04 8:28 
GeneralRe: Finding a Directory Pin
gamitech6-Sep-04 10:04
gamitech6-Sep-04 10:04 
GeneralRe: Finding a Directory Pin
David Crow7-Sep-04 3:07
David Crow7-Sep-04 3:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.