Use Python.h, not allobjects.h.
Don't call initall() (Experimental incompatible change!!!!!!)
diff --git a/PC/dl_nt.c b/PC/dl_nt.c
index 16b9319..e80c3cf 100644
--- a/PC/dl_nt.c
+++ b/PC/dl_nt.c
@@ -10,10 +10,8 @@
#include "windows.h"
/* NT and Python share these */
-#undef INCREF
-#undef DECREF
#include "config.h"
-#include "allobjects.h"
+#include "Python.h"
HMODULE PyWin_DLLhModule = NULL;
@@ -25,7 +23,7 @@
{
case DLL_PROCESS_ATTACH:
PyWin_DLLhModule = hInst;
- initall();
+ //initall();
break;
case DLL_PROCESS_DETACH:
break;