Board index » cppbuilder » Error E2141 - Declaration syntax error
Bradley A. Jennings
![]() CBuilder Developer |
Error E2141 - Declaration syntax error2004-04-15 02:37:06 AM cppbuilder93 I'm writing a command line based utility that calls one function from a third-party DLL. I have included the third-party's header in my code "3party.h". Borland compiler 5.5 complains that there are numerous declaration syntax errors in the header file. The offending declarations begin with "CFUNCTIONSDLLCALLS int FAR PASCAL". The function that I am calling is declared as such. I assume the compiler is unaware of the "CFUNCTIONSDLLCALLS" type, and probably "FAR PASCAL" as well, so it is complaining. If this is true, how can I make the compiler aware of this particular type? If I'm wrong in my assumption, what is alternate explanation and solution? Thank you in advance. |