kirannapit
asked on
Linker problem with Gethostbyname in mfc
hi,
i have included "winsock2.h" in implemtation file using gethostbyname function,still it gives linker error as cannot resolve gethostbyname@4 error.
The same fucntion works in sample application in MFC and also VB , also there is i think winsock2 verion on my pc.
what to do ?
kiran
i have included "winsock2.h" in implemtation file using gethostbyname function,still it gives linker error as cannot resolve gethostbyname@4 error.
The same fucntion works in sample application in MFC and also VB , also there is i think winsock2 verion on my pc.
what to do ?
kiran
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Hi kiran,
Is it working for you ?
Did this help ?
Is it working for you ?
Did this help ?
Hi kirannapit,
I think i should be awarded the points. My tip was probably the cause.
Vasco
I think i should be awarded the points. My tip was probably the cause.
Vasco
(not "compile" :)