Subject: | ANSI escape sequences not getting translated (MyWriteFile not called) |
Building Win32-Console-ANSI v1.09 with Perl 5.20.2 on Windows 7 using VS2012 for 32 bit and VS2013 for 64 bit. Neither build is translating the ANSI escape sequences.
I turned on and added a few debug statements through the XS code (including entry into 'MyWriteFile') and can see that the 'MyWriteFile' API is not being called on print:
Win64:
bin\perl.exe -we "use Win32::Console::ANSI; print qq{\e[1;2Jfoo};"
DLL_PROCESS_ATTACH start at lib/XSLoader.pm line 68.
Hooking in msvcrt.dll at lib/XSLoader.pm line 68.
Found !
Found done at lib/XSLoader.pm line 68.
Hooking in MSVCR120.dll at lib/XSLoader.pm line 68.
didn't find the import module descriptor at lib/XSLoader.pm line 68.
DLL_PROCESS_ATTACH end at lib/XSLoader.pm line 68.
←[1;2Jfoo
Win32 identical, except MSVCR110.dll instead of MSVCR120.dll