PDA

View Full Version : GETENTITYAPI & GETNEWDLLFUNCTIONS problem..


sPlOrYgOn
20-04-2004, 10:58
i keep getting
dll.cpp:16: error: syntax error before `;' token
dll.cpp:17: error: syntax error before `;' token

and what is on those lines are
extern GETENTITYAPI other_GetEntityAPI;
extern GETNEWDLLFUNCTIONS other_GetNewDLLFunctions;

the only reason i can think of why this error is occuring is that GETENTITYAPI and GETNEWDLLFUNCTIONS are not defined..
any help would be appreciated!

Pierre-Marie Baty
20-04-2004, 12:11
Is it in a publicly available source code that we can look up somewhere, or is this code yours ?

If it's yours, look up for the #define of these two...

botman
20-04-2004, 15:59
I created GETENTITYAPI and GETNEWDLLFUNCTIONS in the bot.h file of my HPB bot source code.

You're not including the bot.h file.

botman

sPlOrYgOn
20-04-2004, 17:03
Thanks botman I was looking everywhere for them :D
i should probably learn how to use the search function in vim :D