Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Im using Visual Basic and I get “bad calling convention” when using any API – what is wrong?

API visual basic wrong
0
Posted

Im using Visual Basic and I get “bad calling convention” when using any API – what is wrong?

0

The default DLL supplied uses the “C” calling convention which does not work with Visual Basic. For Visual Basic you need to use the “stdcall” version of the DLL, you can simply delete (or rename) the default DLL and then rename the “stdcall” one.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123