Hi everybody! i have done a file transfer program and the sender part works well. but i get a linker error in receiver part! My error is: Linking... nafxcwd.lib(thrdcore.obj) : error LNK2001: unresolved external symbol __endthreadex nafxcwd.lib(thrdcore.obj) : error LNK2001: unresolved external symbol __beginthreadex Debug/aaa.exe : fatal error LNK1120: 2 unresolved externals Error executing link.exe. The thing is I have not used these functions in my program! Any suggestions please! Thanks in advance! regards, Shalini
Malini Nair
Posts
-
A linker error! -
I ve created an MFC(exe) project and its ana Dialog based one. how to hide the dialog during runtime?Dear frineds i ve created an exe project in MFC. now my problem is how to hide the dialog box during runtime? is there anyway to do that? if so pls let me know. thanks(in anticipation) Malini Nair
-
How to extract a specific set of Characters from a CString object?Dear friends, I have a CString object, say str ,and i want to know how to extract a specific set of characters from this str and store it in another CString object. Does there exist any function/ class for that? Malini
-
How to find if a particular system is active or not in a LAN?Hello friends, this me back with a question. I ve got a code snippet for finding the list of systems in a LAN.It lists the computer name and the IP address. Now i wanted to know how i can find the status of the system ie. if it is active or not. here is the piece i used to found the systems: for ( unsigned int i = 0; i < BufferSize/sizeof(NETRESOURCE); i++, NetResource++ ) if ( NetResource->dwUsage == RESOURCEUSAGE_CONTAINER && NetResource->dwType == RESOURCETYPE_ANY ) { if ( NetResource->lpRemoteName ) { CString strFullName = NetResource->lpRemoteName; if ( 0 == strFullName.Left(2).Compare("\\\\") ) strFullName = strFullName.Right(strFullName.GetLength()-2); gethostname( szHostName, strlen( szHostName ) ); host = gethostbyname(strFullName); ptr = (struct in_addr *) host->h_addr_list[0]; int a = ptr->S_un.S_un_b.s_b1; // 211.40.35.76 split up like this. int b = ptr->S_un.S_un_b.s_b2; // 40 int c = ptr->S_un.S_un_b.s_b3; // 35 int d = ptr->S_un.S_un_b.s_b4; // 76 lpszSystemInfo = tchBuffer; // Get and display the user name. GetUserName(lpszSystemInfo, &cchBuff); strTemp.Format("%s --> %d.%d.%d.%d",strFullName,a,b,c,d); pList->AddString(strTemp); } } } this is a downloaded code friends. but still i want to know how.if we can find the IP address, then there must be a way to find its status. Pls do let me know if anyone of you know this.Thanks (in anticipation) Malini
-
How to include a library file?Hi everybody! I downloaded a project.When I compiled it, I got an error saying 'Cannot open Iphlpapi.lib'. Then i downloaded the library file and included it in the project. Still it shows this error! I dono what has to be done! Please help me! Thanks in advance!
-
how to call another program from a program during run time?Hello friends. I have a progam which needs to call different programs. So, if anyone of you know how to call different programs from a program during runtime, please do let me know.... Thank you(in anticipation):) MaliniNair
-
any method to compare times [modified]Hi everybody! Is there any methods to compare system times similar to CompareFileTime for that of Files? for eg: if The time is 12 PM Then,is there any method to compare 12PM>time1 and 12PM
-
To list files in MFC?Hi everybody! Is there any method to list the files of a directory in MFC?
-
Can someone please tell me how to get the URI of the current browser using java?My problem is to retrive the URl in the browser. i am a beginner and i dont know where to start. Please do help friends. thanks in advance Malini Nair
-
Internet and C++Again this is malini.I dont know how to start. Suppose i am connected to net. And http://WebSite/ResourceName?Data=Data....... is the address. Can i find the address using C++. Does there exists any class for this? Thanx in advance friends!! Malini
-
Can we track the URL using MFC? Is there any possibility?Hi friends.. tis is M.V.Nair. I am now doing a program to track the URL(Internet) using MFC and to indicate it to the server in case if any unwanted website is accessed. First pls do tell me can we associate C++ with Internet? Pls do reply if anyone of you know tat friends!! Malini
-
how to retrieve the IP address of a system?pls do help M.V.Nair