Hey,
I've been trying to compile a custom C-API Python module for AC's 3.3.5 Python and using it in-game. The module compiles successfully and I get the finished *.pyd that I can import. Using the module in a local terminal works fine, however, using it in AC leads to a crash (importing is fine though).
Some more information:
Cheers, and thanks for any input.
I've been trying to compile a custom C-API Python module for AC's 3.3.5 Python and using it in-game. The module compiles successfully and I get the finished *.pyd that I can import. Using the module in a local terminal works fine, however, using it in AC leads to a crash (importing is fine though).
Did anybody else try this before, or has somebody a tip I haven't tried yet?
Some more information:
- I installed MSVC 10 with the Windows 7 SDK. Therefore, the binary should have been created with the correct compiler (as described here https://wiki.python.org/moin/WindowsCompilers).
- By logging inside the custom module I know that importing the module and instantiating class objects of the module works fine.
- The repository with the code can be found here (https://github.com/styinx/ACLIB_plugin).
Cheers, and thanks for any input.