C + + library
Objdll = ctypes.cdll.LoadLibrary(“libpythontest.dll”)
for i in range(1,100):
The program crashed during debugging，for the function：
and, then function execution failed to be traced through source code
First, Py_IsInitialized() return true, I don’t know why and if it makes any difference.
And, the result is the same whether I call Py_Initialize in the lib.
I don’t know if Python supports mutual invocation, or what mechanism is missed.