View Single Post
Re: Problem Compiling in Borland, and in MinGW
Old
  (#4)
botmeister
Ex-Council Member
 
botmeister's Avatar
 
Status: Offline
Posts: 1,090
Join Date: Nov 2003
Location: Canada
Default Re: Problem Compiling in Borland, and in MinGW - 03-02-2004

For BCC 5.5 the following works for me

Code:
#define DLLEXPORT __stdcall
#define EXPORT _declspec( dllexport )
 
extern "C" DLLEXPORT void EXPORT GiveFnptrsToDll( ...
int EXPORT GetEntityAPI( ...
int EXPORT GetNewDLLFunctions( ...
For the LINK_ENTITY_TO_FUNC macros use this

Code:
extern "C" EXPORT void mapClassName( ...


Maker of the (mEAn) Bot.Admin Manager

"In theory, there is no difference between theory and practice. But, in practice, there is." - Jan L.A. van de Snepscheut

Last edited by botmeister; 03-02-2004 at 10:13..
  
Reply With Quote