Author Topic: Xchat windows plugin  (Read 6061 times)

Pix3l

  • Guest
Xchat windows plugin
« on: October 23, 2006, 05:13:08 pm »
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).

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Xchat windows plugin
« Reply #1 on: October 23, 2006, 05:20:51 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!
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.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Pix3l

  • Guest
Re: Xchat windows plugin
« Reply #2 on: October 23, 2006, 07:41:39 pm »
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?

Offline David Perfors

  • Developer
  • Lives here!
  • *****
  • Posts: 560
Re: Xchat windows plugin
« Reply #3 on: October 23, 2006, 07:54:39 pm »
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...
OS: winXP
Compiler: mingw
IDE: Code::Blocks SVN WX: 2.8.4 Wish list: faster code completion, easier debugging, refactoring

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: Xchat windows plugin
« Reply #4 on: October 23, 2006, 08:36:41 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?

Yes, you can't compile it anywhere and it's a C::B bug. Right...
Be patient!
This bug will be fixed soon...

Pix3l

  • Guest
Re: Xchat windows plugin
« Reply #5 on: October 23, 2006, 08:42:34 pm »
ok thanks for the reply!

I try to compile the plugin with other compiler and let you know if they have success!