Hi,

I've written a set of functions in MFC and I'm calling them in VB5 through a DLL.
If I make a exe file and run it separately, the app runs without any problems but if I run it within the VB Environment I get "Bad DLL calling convention (Error 49):" error!(& points to the 1st fn called from the DLL)

Can anybody Help me?
Thanx