Cant compile with other compilers

Hi! I have tried to compile a p2p project with devc++ and code::blocks. But it dont works becouse mingw says:undefined reference to `PeerGraphStartup@8' .But Iam shure i have linket with p2pgraph.lib. In Visual c++ it will work.
[272 byte] By [c.h.r.i.s] at [2008-1-28]
# 1

Sorry c.h.r.i.s, I can't offer you much help with build issues using compilers other than ones I've use on a regular basis (which is limited to Visual C++). Someone who uses your compiler might end up posting on this forum but I expect you're much more likely to get help on mingw forums.

A quick look around some of the mingw forums suggests that Visual C++ import libraries (which is what the *.lib version of *.dll is) are not compatible with mingw (or other gcc on Windows ports). It appears you will need to build a compatible import library using some tools that come with your compiler. Of course, I could be completely mistaken.

EliotFlannery-MSFT at 2007-9-25 > top of Msdn Tech,Windows Networking Development,Peer-to-Peer Networking...