Calling C++ DLL in Python

I want to know how to call C++ DLL in python. I write a sample C++ DLL.

I want to call CallDll.dll on python.

I do not know what to do next? can someone give me some suggestions? Thank you!

This might help:

Also, we don’t use ; in Python :wink:

Thank you very much! AndersDeleuran

1 Like

Are you aware of the meaning of extern c? Its actually used to correctly distinguish and link between c and c++ code, which further indicates that everything within an extern c function is meant to be c code?! Using a c++ dll is just a workaround and rather meant to connect c code (and not c++ code) with DotNet/IronPython