able to compile&run in VC++ but unable in dev-c++

i d/l a source code called wcomm.cpp & a main.cpp
for main.cpp:error:

In function `Z9runserverv':
[Linker error] undefined reference to `WComm::startServer(int)'

for wcomm.cpp
1. [Warning] converting of negative value `-0x000000001' to `SOCKET'
2. 'ifstream' undeclared (first use this function)
3. 'myFile' undeclared (first use this function)

might anyone tell me how to solve it? thanks
Topic archived. No new replies allowed.