I'm not exactly clear what you are asking. But I suppose you mean to ask what you can do now with your DLL.
Well, in order to use it appropriately, you'll have to build a special DLL which directly can be imported as a module in Python. In order to determine what to do in order to use this, it is best you have a look for other modules, how they do it. E. g.
MySQLdbcould be a candidate.In short, you have this "wrapper" DLL call your function.
But if I have a second look at your question now, I see that you are trying to load your DLL via
ctypes. This is viable as well, maybe even better, and you'll have to use thectypes.py_objectdata type.
- 91.5k
- 13
- 157
- 230