Is it possible to create a Python-wrapper from a C-pointer for an already wrapped library like pywin32 or PyOpenGL in C/C++?
Can you fill-out/correct that code snippet for me?
#include <windows.h>
#include <the_magical_pywin32_header.h>
PyObject* PyObject_fromHWND(HWND window) {
// ...
}
1 Answer