I've been coding around your library, and I'll say that it's wonderfully useful and portable. However, on windows, I can only build it by linking the the dynamic libraries. If I link to the static lib, whether it's the one in libircclient-win32-vc-1.1.zip or one I compiled myself, I get error 2, or "Host not resolved." I've also tried simply adding libircclient.c as a source file, and linking with WSock32.lib. The spammer and irctest examples don't work with static libs either, so it's not my code that's the problem. It never works if I link with the static libs, but works perfectly if I link with the dynamic library.
I am building on WinXP Pro SP2, using Visual Studio .NET 2003 and Visual Studio 2005. I don't really care that dynamic libs are slower, but it's just annoying to have to package a DLL with the app if I were to release something.
When you link to static lib, you must do winsock initialization yourself before calling any libircclient functions. This is mentioned in FAQ.
where are the FAQs?
oh, oops...never mind...it's in related pages
In dochtml package.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.