I have made a dll through VC, and call it in VB5, all passed if I don't transfer

parameter from VB to that dll's function. But if I do it , Error happens.

Thanks for the answer.

(the dll I made through vc5's wizard (MFC suport))