Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

'calling convention' conflict in calling fucntions from a com dll

Status
Not open for further replies.

onlyshiza

Programmer
May 14, 2003
18
0
0
US
Hi everyone,

I am writing a VC++6.0 client for a com dll(developed in VB6.0). I have a problem calling some functions of the dll, the error message I get is:
"The value of ESP was not properly saved across a function call. This is usually a result of calling a function declared with one calling convention with a function pointer declared with a different calling convention."

Any ideas on how to resolve this calling convention conflicts will be gratefully received. I only have access to the .tlb of the dll.

Regards,
onlyshiza
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top