Click here to Skip to main content
15,921,941 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: Set point's size Pin
Mark Salsbery14-Apr-07 7:45
Mark Salsbery14-Apr-07 7:45 
AnswerRe: Set point's size Pin
bob1697214-Apr-07 8:30
bob1697214-Apr-07 8:30 
GeneralRe: Set point's size Pin
John R. Shaw14-Apr-07 15:21
John R. Shaw14-Apr-07 15:21 
GeneralRe: Set point's size Pin
bob1697214-Apr-07 16:19
bob1697214-Apr-07 16:19 
GeneralRe: Set point's size Pin
John R. Shaw14-Apr-07 16:54
John R. Shaw14-Apr-07 16:54 
GeneralRe: Set point's size Pin
Chen-XuNuo14-Apr-07 22:05
Chen-XuNuo14-Apr-07 22:05 
GeneralRe: Set point's size Pin
Mark Salsbery15-Apr-07 14:02
Mark Salsbery15-Apr-07 14:02 
QuestionRegarding Error, Please help. Pin
dhavalshah12314-Apr-07 1:00
dhavalshah12314-Apr-07 1:00 
I have developed an Windows socket application. It is being compiled successfully. But when I built it, it shows following errors which are related to winsock2.h file. I have included that file in the Include files path, and also the library file ws2_32.lib is there in the library path. The settings seem to be OK. Then also following error comes.

1>Linking...
1>HTTPRequesttry.obj : error LNK2019: unresolved external symbol __imp__gethostbyname@4 referenced in function "unsigned long __cdecl GetHostAddress(char const *)" (?GetHostAddress@@YAKPBD@Z)
1>HTTPRequesttry.obj : error LNK2019: unresolved external symbol __imp__send@16 referenced in function "void __cdecl SendString(unsigned int,char const *)" (?SendString@@YAXIPBD@Z)
1>HTTPRequesttry.obj : error LNK2019: unresolved external symbol __imp__closesocket@4 referenced in function "int __cdecl SendHTTP(char const *,char const *,unsigned char *,unsigned long,struct HTTPRequest *)" (?SendHTTP@@YAHPBD0PAEKPAUHTTPRequest@@@Z)
1>HTTPRequesttry.obj : error LNK2019: unresolved external symbol __imp__recv@16 referenced in function "int __cdecl SendHTTP(char const *,char const *,unsigned char *,unsigned long,struct HTTPRequest *)" (?SendHTTP@@YAHPBD0PAEKPAUHTTPRequest@@@Z)
1>HTTPRequesttry.obj : error LNK2019: unresolved external symbol __imp__connect@12 referenced in function "int __cdecl SendHTTP(char const *,char const *,unsigned char *,unsigned long,struct HTTPRequest *)" (?SendHTTP@@YAHPBD0PAEKPAUHTTPRequest@@@Z)
1>HTTPRequesttry.obj : error LNK2019: unresolved external symbol __imp__htons@4 referenced in function "int __cdecl SendHTTP(char const *,char const *,unsigned char *,unsigned long,struct HTTPRequest *)" (?SendHTTP@@YAHPBD0PAEKPAUHTTPRequest@@@Z)
1>HTTPRequesttry.obj : error LNK2019: unresolved external symbol __imp__socket@12 referenced in function "int __cdecl SendHTTP(char const *,char const *,unsigned char *,unsigned long,struct HTTPRequest *)" (?SendHTTP@@YAHPBD0PAEKPAUHTTPRequest@@@Z)
1>HTTPRequesttry.obj : error LNK2019: unresolved external symbol __imp__WSAStartup@8 referenced in function "int __cdecl SendHTTP(char const *,char const *,unsigned char *,unsigned long,struct HTTPRequest *)" (?SendHTTP@@YAHPBD0PAEKPAUHTTPRequest@@@Z)
1>.\Debug/HTTPRequesttry.exe : fatal error LNK1120: 8 unresolved externals
1>Build log was saved at "file://e:\ProgramFiles2\Microsoft Visual Studio\myprojects\HTTPRequesttry\Debug\BuildLog.htm"
1>HTTPRequesttry - 9 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

If anyone knows the solution please help me.

Thanks for the prompt reply.

Dhaval

AnswerRe: Regarding Error, Please help. Pin
Hamid_RT14-Apr-07 6:24
Hamid_RT14-Apr-07 6:24 
GeneralRe: Regarding Error, Please help. Pin
Nikhil Trivedi16-Apr-07 0:03
Nikhil Trivedi16-Apr-07 0:03 
GeneralRe: Regarding Error, Please help. Pin
Hamid_RT16-Apr-07 0:45
Hamid_RT16-Apr-07 0:45 
AnswerRe: Regarding Error, Please help. Pin
John R. Shaw14-Apr-07 15:32
John R. Shaw14-Apr-07 15:32 
AnswerRe: Regarding Error, Please help. Pin
Michael Dunn14-Apr-07 21:40
sitebuilderMichael Dunn14-Apr-07 21:40 
Questionto define callback function Pin
zon_cpp14-Apr-07 0:18
zon_cpp14-Apr-07 0:18 
AnswerRe: to define callback function Pin
John R. Shaw14-Apr-07 15:41
John R. Shaw14-Apr-07 15:41 
GeneralRe: to define callback function Pin
zon_cpp14-Apr-07 20:54
zon_cpp14-Apr-07 20:54 
QuestionX.25 Protocol Pin
B. A. Gupta13-Apr-07 22:36
B. A. Gupta13-Apr-07 22:36 
AnswerRe: X.25 Protocol Pin
Nirmal S22-Sep-09 2:01
Nirmal S22-Sep-09 2:01 
QuestionAlternative to CImage Pin
QuickDeveloper13-Apr-07 22:33
QuickDeveloper13-Apr-07 22:33 
AnswerRe: Alternative to CImage Pin
Hamid_RT14-Apr-07 6:11
Hamid_RT14-Apr-07 6:11 
AnswerRe: Alternative to CImage Pin
Mark Salsbery14-Apr-07 7:47
Mark Salsbery14-Apr-07 7:47 
AnswerRe: Alternative to CImage Pin
Hamid_RT14-Apr-07 7:49
Hamid_RT14-Apr-07 7:49 
AnswerRe: Alternative to CImage Pin
bob1697214-Apr-07 16:16
bob1697214-Apr-07 16:16 
QuestionTitleBar Pin
samira forooghi13-Apr-07 22:02
samira forooghi13-Apr-07 22:02 
AnswerRe: TitleBar Pin
zon_cpp22-Apr-07 1:59
zon_cpp22-Apr-07 1:59 

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.