Hello,

I have developed a DLL in VC++, i want to use it in VB and VB.net.. When i try to use the DLL in vb it is giving Bad DLL Calling Convention. I changed the Calling Convention to __stdcall from __cdecl* Code Generation option in C/C++ tab in Project Settings. I will be able to use the DLL compiled with __stdcall in VB but if i use the same DLL in VC++ againg, it will give error unresolved external symbol __imp__('Function Name'). Can anybody please help me..its urgent

Thanks in advance,
Poornima.