[C++-sig] [python-win32] Problems with Implementing Callback Python/C++-DLL
mhammond at skippinet.com.au
Sat Jul 30 07:28:46 CEST 2005
> So Im not sure how can I register my_set_callback function in the
> started Python-Interpreter and to explain my DLL which Python-Function
> to call when the new values in my DLL were calculated.
I'm not sure I understand your problem. The tail of the code you posted
looks like a standard Python module - although you did not show the "module
init" code. Assuming this was a normal module, Python code would be able to
Which is how my_set_callback will be called. However, if you have no module
init code, there will be no entry point to the function. How is your DLL
loaded by Python (or is it your DLL that loads Python?).
More information about the Cplusplus-sig