View Single Post
Re: koraX's bot framework
Old
  (#2)
Whistler
Summoner
 
Whistler's Avatar
 
Status: Offline
Posts: 1,499
Join Date: Feb 2004
Location: Mist Village
Default Re: koraX's bot framework - 26-03-2005

"Compiles under MSVC.NET, gcc is supported too, but I don't know how to correctly export GiveFnptrsToDll under DevC++ (how to include .def file in project)"

actually you needn't use .def files for MinGW, just use "--add-stdcall-alias" parameter in dllwrap command and use this for GiveFnptrsToDll() function:

extern "C" __declspec(dllexport) void __stdcall GiveFnptrsToDll(......)

Last edited by Whistler; 26-03-2005 at 07:07..
  
Reply With Quote