I have a problem:
I use borland turbo c++ 2006 and have successfully built my own .dll, but when I run the examples, I get question marks in the caption of the windows.
Now, I believe this problem is due to the fact that I had to modify irrString.h to be able to build my .dll.
Before the modifications I got two very interesting compiler errors:
Size of the type 'B' is unknown or zero
and
Internal code generator error
Anyone else had these problems when building with Borland's compiler?
irrString.h issue
In IrrTypes add something like this:
Code: Select all
//! Define for swprintf because this method does not match the ISO C standard
//! on Windows platforms, but it does on all other ones.
#ifndef __BCPLUSPLUS__ // add by etcaptor for BCB compatibility
#define swprintf _snwprintf
#endif