View Single Post
Re: Bug in Template version 4
Old
  (#3)
koraX
Member
 
koraX's Avatar
 
Status: Offline
Posts: 145
Join Date: Jan 2004
Location: Slovak Republic
Default Re: Bug in Template version 4 - 03-09-2004

Quote:
Originally Posted by Pierre-Marie Baty
I'm the person to blame
I blame you again

you forgot to change functions declaration in bot.h :
Code:
typedef int (DLLEXPORT *SERVER_GETBLENDINGINTERFACE) ( ... );
Though Server_GetBlendingInterface is exported correctly, it loads Server_GetBlendingInterface from game dll and converts it to that wrong pointer. So it will probably crash.

correct is same as for linux :
Code:
typedef int (*SERVER_GETBLENDINGINTERFACE) ( ... );


kXBot
koraX's utils
- see my homepage for other projects (OpenGL CSG Editor, FAT16 Sim, NNetwork Sim, ...)

Last edited by koraX; 03-09-2004 at 21:30..
  
Reply With Quote