I've been using IanM's C++ interface with Dev-C++ for a few weeks now with great success. However, I have recently reformatted my hard drive and had to reinstall Dev-C++. I think that the version I have installed now is a later one than the one I used before (although both were v5). Anywho, I installed the interface just as I did before (added the include directory in compiler options, added the "DBProInterfaceMingw.a" file in the project options, downloaded DirectX9 library, removed faulty character from dxfile.h), but when I try to compile my project, I keep getting the same error (see image below).
So, I tried to compile the example project that came with the interface and got the same error.
I found out that if I go to 'Project >> Project Options >> files', then select "dllmain.cpp" and uncheck the "include in linking" box, I don't get the error. However, the dll then doesn't work in DBP (understandably, seeing how the function declaration isn't linked with the stringtable).
Has anyone encountered this problem before? Does anyone know how I can overcome it? Is there some kind of package I can download to help? Or is it that this new version of Dev-C++ is not compatable with the interface?
Cheers in advance!