none
Problem Compiling under windows 64 RRS feed

  • Question

  • When I was trying to compile my program under win64, I got the following errors:

    ServerViewDlg.obj : error LNK2019: unresolved external symbol __imp_gethostname referenced in function "protected: virtual int __cdecl CServerViewDlg::OnInitDialog(void)" (?OnInitDialog@CServerViewDlg@@MEAAHXZ)

    ServerViewDlg.obj : error LNK2019: unresolved external symbol __imp_WSAStartup referenced in function "protected: virtual int __cdecl CServerViewDlg::OnInitDialog(void)" (?OnInitDialog@CServerViewDlg@@MEAAHXZ)

    The program compiled fine under win32. I tried to add ws2.lib in the path but that doesn't seem to fix the problem

    Can any one help me out a little?

    Thanks

    Tuesday, June 13, 2006 2:42 PM

Answers