User forums > Help

Xchat windows plugin

(1/2) > >>

Pix3l:
I have a problem compiling an xchat plugin, i create the DLL project and add the files (xchat-plugin.h, myplugin.c).

When i compile it i have no problem but when i try to load it in xchat i get this message :

 No xchat_plugin_init symbol; Are you sure that are really an xchat plugin?
 (or something like this, because i translate this message from italian)

I read the doc for make plugin in C at the xchat official site (http://www.xchat.org/docs/plugin20.html) and i compile the example but it doesn't work correctly!

Please are there someone can help me on make an xchat plugin (it's a dll).

MortenMacFly:

--- Quote from: Pix3l on October 23, 2006, 05:13:08 pm ---I read the doc for make plugin in C at the xchat official site (http://www.xchat.org/docs/plugin20.html) and i compile the example but it doesn't work correctly!

--- End quote ---
I fail to see how this is related to C::B at all. You'd better ask the XChat guys... don't you?!
With regards, Morten.

Pix3l:
The only thing i can ask to xchat guy is how to make a plugin, but him can't help me on how to compile it with code::blocks!

The only thing i need to know is how i can compile a DLL (plugin for xchat) with code::blocks and maybe how to link a def file for it!

I try to compile the a plugin with Dev-Cpp without success and with code::blocks too!

Maybe are there a bug in the compiler or in the code::blocks envirioment?

David Perfors:
Compiling a DLL could be done by making a new DLL (Dynamic Link Library) project. How you can link a def file I don't know...

mandrav:

--- Quote from: Pix3l on October 23, 2006, 07:41:39 pm ---I try to compile the a plugin with Dev-Cpp without success and with code::blocks too!

Maybe are there a bug in the compiler or in the code::blocks envirioment?

--- End quote ---

Yes, you can't compile it anywhere and it's a C::B bug. Right...

Navigation

[0] Message Index

[#] Next page

Go to full version