I have a DLL that will be used by Visual Basic and Visual C++.
The dll is written in C++ and does not have MFC support.
What would be the best ( in terms of easiest to implement for both platforms )
calling convention to use. Currently I have no problems running in C++ using _cdecl calling convention but I keep getting Bad dll calling convention errors in VB.

thanks