Forum Discussion
TanyaYatskovska Alumni
Alumni
7 years agonikki85, did you find an answer to your question? Please, share your solution with us.
nikki85
7 years agoContributor
- TanyaYatskovska7 years agoAlumni Have you tried suggestions given here? What exactly doesn't work when applying them? - nikki857 years agoContributoryes , I tried suggestions given here, error message is still object doesn't support this property or method: 'Lib.add' - TanyaYatskovska7 years agoAlumni I don't see the stdcallcalling convention in your original dll as Alex mentioned:AlexKaras wrote: 
 The DLL routine to be called must match the stdcallcalling convention.At the same time, this is one of the requirements. I'm not familiar with C++ very well - I suppose you should declare the add routine something like this: int __stdcall add(int a, int b) { return a + b; }If you modified the dll, it's worth posting the new one, as well as the updated code. 
 
 
