Hello!
I'm really have this problem I do not know what to do, I hope you can help me.
I'm using devc++ to compile a C++ class and I need to use it from a "VB6 application", :(. I'm exporting the function as C with stdcall but the result name it have "bad name", for example a function called GetCpuSpeedDll3 in C++ in VB6 it's named _ZN5CDLL311GetCpuSpeedEv. The other problem I have is that some function that not have parameters it's work fine, with the "bad name", but it's work. When a function have an parameter I got Bad FLL Call Convention, I assume that it for "bad name" but I really know how to fix it.

I found this tutorial but it's empty: http://www.mingw.org/wiki/Visual_Basic_DLL

Please...Is it possible to do it with mingw??

Thank you
Salu2...