Hi Srinivas,
The error that you posted indicates that the calling convention (__cdecl or __stdcall) of the functions are different than the compilers calling convention. First off, you could compare what calling conventions you have set in CVI 6.0 to CVI 8.0 and make sure they are the same. Do this by selecting Options >> Build Options and observing the "Default calling convention" option. Make sure that whatever you have set in there, is the same that your function is declared with (you could check this by looking at the header file of the DLL).
Additionally, the error detection in CVI has improved over time, so some issues may not have been caught in earlier versions.
Let me know if this helps!
Best Regards,
Jonathan N.
National Instruments