adoxa/ansicon — Issue #20: XP64: does not work with x64 ansicon (Failed to get pointer to Wow64GetThreadContext.)
Author: prusswan
Created: 2012-01-16 21:33:51+00:00
State: open

The logs are as follows:

ansicon (44324): F:\WINDOWS\system32\cmd.exe
ansicon (44324): 64-bit console (base = 000000004AD00000)
cmd (43740): hDllInstance = 000000006C200000
cmd (43740): Hooking cmd.exe
cmd (43740): LoadLibraryExW
cmd (43740): WriteFile
cmd (43740): LoadLibraryW
cmd (43740): LoadLibraryA
cmd (43740): GetProcAddress
cmd (43740): WriteConsoleW
cmd (43740): GetEnvironmentVariableW
cmd (43740): CreateProcessW
cmd (43740): Hooking ntdll.dll
cmd (43740): Hooking msvcrt.dll
cmd (43740): GetProcAddress
cmd (43740): LoadLibraryA
cmd (43740): CreateProcessA
cmd (43740): CreateProcessW
cmd (43740): WriteConsoleA
cmd (43740): WriteConsoleW
cmd (43740): WriteFile
cmd (43740): Hooking ADVAPI32.dll
cmd (43740): WriteFile
cmd (43740): GetProcAddress
cmd (43740): LoadLibraryA
cmd (43740): LoadLibraryExW
cmd (43740): LoadLibraryW
cmd (43740): Hooking RPCRT4.dll
cmd (43740): LoadLibraryW
cmd (43740): GetProcAddress
cmd (43740): WriteFile
cmd (43740): LoadLibraryA
cmd (43740): Hooking Secur32.dll
cmd (43740): LoadLibraryA
cmd (43740): LoadLibraryW
cmd (43740): GetProcAddress
cmd (43740): Hooking USER32.dll
cmd (43740): LoadLibraryExW
cmd (43740): CreateProcessW
cmd (43740): LoadLibraryA
cmd (43740): GetProcAddress
cmd (43740): LoadLibraryW
cmd (43740): Hooking GDI32.dll
cmd (43740): LoadLibraryExW
cmd (43740): LoadLibraryA
cmd (43740): LoadLibraryW
cmd (43740): GetProcAddress
cmd (43740): WriteFile
cmd (43740): Hooking MPR.dll
cmd (43740): GetProcAddress
cmd (43740): GetEnvironmentVariableW
cmd (43740): LoadLibraryA
cmd (43740): LoadLibraryExW
cmd (43740): WriteConsoleW
cmd (43740): WriteFile
cmd (43740): Hooking IMM32.DLL
cmd (43740): GetProcAddress
cmd (43740): LoadLibraryW
cmd (43740): Hooking LPK.DLL
cmd (43740): Hooking USP10.dll
cmd (43740): LoadLibraryA
cmd (43740): GetProcAddress
cmd (43740): WriteConsoleW: 36 "Microsoft Windows [Version 5.2.3790]"
cmd (43740): WriteConsoleW: 2 "\r\n"
cmd (43740): WriteConsoleW: 41 "(C) Copyright 1985-2003 Microsoft Corp.\r\n"
cmd (43740): WriteConsoleW: 2 "\r\n"
cmd (43740): WriteConsoleW: 9 "F:\Sites>"
cmd (43740): WriteConsoleW: 17 "cd rails_projects"
cmd (43740): WriteConsoleW: 2 "\r\n"
cmd (43740): WriteConsoleW: 24 "F:\Sites\rails_projects>"
cmd (43740): WriteConsoleW: 13 "cd sample_app"
cmd (43740): WriteConsoleW: 2 "\r\n"
cmd (43740): WriteConsoleW: 35 "F:\Sites\rails_projects\sample_app>"
cmd (43740): CreateProcessW: "F:\RailsInstaller\Ruby1.9.2\bin\ruby.exe", ""ruby.exe" "F:\RailsInstaller\Ruby1.9.2\lib\ruby\gems\1.9.1\bin\rspec" spec"
cmd (43740): 32-bit console (base = 0000000000400000)
cmd (43740): Failed to get pointer to Wow64GetThreadContext.

x86 version is working:

ansicon (44344): F:\WINDOWS\system32\cmd.exe
ansicon (44344): 32-bit console (base = 4AD00000)
cmd (44180): hDllInstance = 6F980000
cmd (44180): Hooking cmd.exe
cmd (44180): LoadLibraryExW
cmd (44180): WriteFile
cmd (44180): CreateProcessW
cmd (44180): LoadLibraryW
cmd (44180): LoadLibraryA
cmd (44180): GetProcAddress
cmd (44180): WriteConsoleW
cmd (44180): GetEnvironmentVariableW
cmd (44180): Hooking ntdll.dll
cmd (44180): Hooking msvcrt.dll
cmd (44180): GetProcAddress
cmd (44180): LoadLibraryA
cmd (44180): CreateProcessA
cmd (44180): CreateProcessW
cmd (44180): WriteConsoleA
cmd (44180): WriteConsoleW
cmd (44180): WriteFile
cmd (44180): Hooking ADVAPI32.dll
cmd (44180): GetProcAddress
cmd (44180): LoadLibraryA
cmd (44180): WriteFile
cmd (44180): LoadLibraryExW
cmd (44180): LoadLibraryW
cmd (44180): Hooking RPCRT4.dll
cmd (44180): LoadLibraryA
cmd (44180): WriteFile
cmd (44180): LoadLibraryW
cmd (44180): GetProcAddress
cmd (44180): Hooking Secur32.dll
cmd (44180): LoadLibraryA
cmd (44180): LoadLibraryW
cmd (44180): GetProcAddress
cmd (44180): Hooking USER32.dll
cmd (44180): LoadLibraryA
cmd (44180): CreateProcessW
cmd (44180): LoadLibraryExW
cmd (44180): LoadLibraryW
cmd (44180): GetProcAddress
cmd (44180): Hooking GDI32.dll
cmd (44180): GetProcAddress
cmd (44180): LoadLibraryW
cmd (44180): WriteFile
cmd (44180): LoadLibraryA
cmd (44180): LoadLibraryExW
cmd (44180): Hooking MPR.dll
cmd (44180): GetEnvironmentVariableW
cmd (44180): LoadLibraryA
cmd (44180): WriteFile
cmd (44180): WriteConsoleW
cmd (44180): LoadLibraryExW
cmd (44180): GetProcAddress
cmd (44180): Hooking IMM32.DLL
cmd (44180): GetProcAddress
cmd (44180): LoadLibraryW
cmd (44180): Hooking LPK.DLL
cmd (44180): Hooking USP10.dll
cmd (44180): LoadLibraryA
cmd (44180): GetProcAddress
cmd (44180): WriteConsoleW: 36 "Microsoft Windows [Version 5.2.3790]"
cmd (44180): WriteConsoleW: 2 "\r\n"
cmd (44180): WriteConsoleW: 41 "(C) Copyright 1985-2003 Microsoft Corp.\r\n"
cmd (44180): WriteConsoleW: 2 "\r\n"
cmd (44180): WriteConsoleW: 9 "F:\Sites>"
cmd (44180): WriteConsoleW: 2 "\r\n"
cmd (44180): WriteConsoleW: 24 "F:\Sites\rails_projects>"
cmd (44180): WriteConsoleW: 2 "\r\n"
cmd (44180): WriteConsoleW: 35 "F:\Sites\rails_projects\sample_app>"
cmd (44180): CreateProcessW: "F:\RailsInstaller\Ruby1.9.2\bin\ruby.exe", ""ruby.exe" "F:\RailsInstaller\Ruby1.9.2\lib\ruby\gems\1.9.1\bin\rspec" spec"
cmd (44180): 32-bit console (base = 00400000)
ruby (43884): hDllInstance = 6F980000
ruby (43884): Hooking ruby.exe
ruby (43884): GetProcAddress
ruby (43884): LoadLibraryA
ruby (43884): Hooking ntdll.dll
ruby (43884): Hooking msvcrt-ruby191.dll
ruby (43884): CreateProcessA
ruby (43884): GetEnvironmentVariableW
ruby (43884): GetProcAddress
ruby (43884): LoadLibraryA
ruby (43884): WriteFile
ruby (43884): Hooking ADVAPI32.DLL
ruby (43884): GetProcAddress
ruby (43884): LoadLibraryA
ruby (43884): WriteFile
ruby (43884): LoadLibraryExW
ruby (43884): LoadLibraryW
ruby (43884): Hooking RPCRT4.dll
ruby (43884): LoadLibraryA
ruby (43884): WriteFile
ruby (43884): LoadLibraryW
ruby (43884): GetProcAddress
ruby (43884): Hooking Secur32.dll
ruby (43884): LoadLibraryA
ruby (43884): LoadLibraryW
ruby (43884): GetProcAddress
ruby (43884): Hooking msvcrt.dll
ruby (43884): GetProcAddress
ruby (43884): LoadLibraryA
ruby (43884): CreateProcessA
ruby (43884): CreateProcessW
ruby (43884): WriteConsoleA
ruby (43884): WriteConsoleW
ruby (43884): WriteFile
ruby (43884): Hooking SHELL32.DLL
ruby (43884): LoadLibraryExA
ruby (43884): LoadLibraryA
ruby (43884): GetEnvironmentVariableW
ruby (43884): LoadLibraryExW
ruby (43884): CreateProcessW
ruby (43884): LoadLibraryW
ruby (43884): GetProcAddress
ruby (43884): WriteFile
ruby (43884): Hooking GDI32.dll
ruby (43884): GetProcAddress
ruby (43884): LoadLibraryW
ruby (43884): WriteFile
ruby (43884): LoadLibraryA
ruby (43884): LoadLibraryExW
ruby (43884): Hooking USER32.dll
ruby (43884): LoadLibraryA
ruby (43884): CreateProcessW
ruby (43884): LoadLibraryExW
ruby (43884): LoadLibraryW
ruby (43884): GetProcAddress
ruby (43884): Hooking SHLWAPI.dll
ruby (43884): GetEnvironmentVariableA
ruby (43884): GetEnvironmentVariableW
ruby (43884): LoadLibraryW
ruby (43884): GetProcAddress
ruby (43884): WriteFile
ruby (43884): LoadLibraryExW
ruby (43884): LoadLibraryA
ruby (43884): Hooking WS2_32.dll
ruby (43884): GetEnvironmentVariableA
ruby (43884): LoadLibraryW
ruby (43884): LoadLibraryA
ruby (43884): GetProcAddress
ruby (43884): Hooking WS2HELP.dll
ruby (43884): GetProcAddress
ruby (43884): LoadLibraryA
ruby (43884): Hooking IMM32.DLL
ruby (43884): GetProcAddress
ruby (43884): LoadLibraryW
ruby (43884): Hooking LPK.DLL
ruby (43884): Hooking USP10.dll
ruby (43884): LoadLibraryA
ruby (43884): GetProcAddress
ruby (43884): Hooking comctl32.dll
ruby (43884): GetProcAddress
ruby (43884): LoadLibraryA
ruby (43884): LoadLibraryW
ruby (43884): Hooking rsaenh.dll (LoadLibraryA)
ruby (43884): WriteFile
ruby (43884): LoadLibraryExA
ruby (43884): LoadLibraryA
ruby (43884): GetProcAddress
ruby (43884): Hooking F:/RailsInstaller/Ruby1.9.2/lib/ruby/1.9.1/i386-mingw32/enc/encdb.so (LoadLibraryA)
ruby (43884): GetProcAddress
ruby (43884): LoadLibraryA
ruby (43884): Hooking F:/RailsInstaller/Ruby1.9.2/lib/ruby/1.9.1/i386-mingw32/enc/iso_8859_1.so (LoadLibraryA)
ruby (43884): GetProcAddress
ruby (43884): LoadLibraryA
ruby (43884): Hooking F:/RailsInstaller/Ruby1.9.2/lib/ruby/1.9.1/i386-mingw32/enc/trans/transdb.so (LoadLibraryA)
ruby (43884): GetProcAddress
ruby (43884): LoadLibraryA
ruby (43884): Hooking F:/RailsInstaller/Ruby1.9.2/lib/ruby/1.9.1/i386-mingw32/enc/utf_16le.so (LoadLibraryA)
ruby (43884): GetProcAddress
ruby (43884): LoadLibraryA
ruby (43884): Hooking F:/RailsInstaller/Ruby1.9.2/lib/ruby/1.9.1/i386-mingw32/enc/trans/utf_16_32.so (LoadLibraryA)
ruby (43884): GetProcAddress
ruby (43884): LoadLibraryA
ruby (43884): Hooking F:/RailsInstaller/Ruby1.9.2/lib/ruby/1.9.1/i386-mingw32/enc/trans/single_byte.so (LoadLibraryA)
ruby (43884): GetProcAddress
ruby (43884): LoadLibraryA
ruby (43884): Hooking F:/RailsInstaller/Ruby1.9.2/lib/ruby/1.9.1/i386-mingw32/etc.so (LoadLibraryA)
ruby (43884): GetProcAddress
ruby (43884): LoadLibraryA
ruby (43884): Hooking F:/RailsInstaller/Ruby1.9.2/lib/ruby/1.9.1/i386-mingw32/strscan.so (LoadLibraryA)
ruby (43884): GetProcAddress
ruby (43884): LoadLibraryA
ruby (43884): Hooking F:/RailsInstaller/Ruby1.9.2/lib/ruby/1.9.1/i386-mingw32/socket.so (LoadLibraryA)
ruby (43884): GetProcAddress
ruby (43884): LoadLibraryA
ruby (43884): Hooking F:/RailsInstaller/Ruby1.9.2/lib/ruby/1.9.1/i386-mingw32/fcntl.so (LoadLibraryA)
ruby (43884): GetProcAddress
ruby (43884): LoadLibraryA
ruby (43884): Hooking F:\WINDOWS\system32\mswsock.dll (LoadLibraryW)
ruby (43884): WriteFile
ruby (43884): GetProcAddress
ruby (43884): LoadLibraryA
ruby (43884): GetEnvironmentVariableA
ruby (43884): LoadLibraryW
ruby (43884): Hooking hnetcfg.dll (LoadLibraryW)
ruby (43884): LoadLibraryA
ruby (43884): GetProcAddress
ruby (43884): LoadLibraryW
ruby (43884): LoadLibraryExW
ruby (43884): Hooking rpcrt4.dll (LoadLibraryW)
ruby (43884): Hooking F:\WINDOWS\System32\wship6.dll (LoadLibraryW)
ruby (43884): Hooking F:\WINDOWS\System32\wship6.dll (LoadLibraryW)
ruby (43884): Hooking F:\WINDOWS\System32\mswsock.dll (LoadLibraryW)
ruby (43884): Hooking DNSAPI.dll (LoadLibraryA)
ruby (43884): GetProcAddress
ruby (43884): LoadLibraryW
ruby (43884): GetEnvironmentVariableW
ruby (43884): LoadLibraryA
ruby (43884): LoadLibraryExW
ruby (43884): Hooking F:\WINDOWS\System32\winrnr.dll (LoadLibraryW)
ruby (43884): Hooking F:\WINDOWS\System32\mswsock.dll (LoadLibraryW)
ruby (43884): Hooking iphlpapi.dll (LoadLibraryW)
ruby (43884): LoadLibraryA
ruby (43884): GetProcAddress
ruby (43884): Hooking netman.dll (LoadLibraryA)
ruby (43884): LoadLibraryExW
ruby (43884): GetProcAddress
ruby (43884): LoadLibraryW
ruby (43884): LoadLibraryA
ruby (43884): WriteFile
ruby (43884): Hooking iphlpapi.dll (LoadLibraryA)
ruby (43884): Hooking MPRAPI.dll (LoadLibraryA)
ruby (43884): GetProcAddress
ruby (43884): LoadLibraryW
ruby (43884): Hooking rasadhlp.dll (LoadLibraryA)
ruby (43884): GetProcAddress
ruby (43884): LoadLibraryW
ruby (43884): Hooking iphlpapi.dll (LoadLibraryW)
ruby (43884): Hooking WS2_32.dll (LoadLibraryA)
ruby (43884): Hooking F:\WINDOWS\system32\mswsock.dll (LoadLibraryW)
ruby (43884): Hooking hnetcfg.dll (LoadLibraryW)
ruby (43884): Hooking F:\WINDOWS\System32\wshtcpip.dll (LoadLibraryW)
ruby (43884): WriteFile->
ruby (43884): WriteConsoleA: 62 "No DRb server is running. Running in local process instead ..."
ruby (43884): WriteFile->
ruby (43884): WriteConsoleA: 2 "\r\n"
ruby (43884): Hooking ole32.dll (LoadLibraryA)
ruby (43884): LoadLibraryW
ruby (43884): LoadLibraryA
ruby (43884): LoadLibraryExW
ruby (43884): LoadLibraryExA
ruby (43884): CreateProcessW
ruby (43884): WriteFile
ruby (43884): GetProcAddress
ruby (43884): Hooking F:\WINDOWS\SysWOW64\MSCTF.dll (LoadLibraryExW)
ruby (43884): LoadLibraryA
ruby (43884): LoadLibraryW
ruby (43884): CreateProcessA
ruby (43884): LoadLibraryExA
ruby (43884): GetProcAddress
ruby (43884): Hooking F:\WINDOWS\syswow64\SHELL32.dll (LoadLibraryExW)
ruby (43884): Hooking SETUPAPI.dll (LoadLibraryA)
ruby (43884): LoadLibraryA
ruby (43884): GetProcAddress
ruby (43884): CreateProcessW
ruby (43884): GetEnvironmentVariableW
ruby (43884): WriteFile
ruby (43884): LoadLibraryW
ruby (43884): LoadLibraryExW
ruby (43884): Hooking SHELL32.dll (LoadLibraryA)
ruby (43884): Hooking ole32.dll (LoadLibraryA)
ruby (43884): Hooking F:/RailsInstaller/Ruby1.9.2/lib/ruby/1.9.1/i386-mingw32/psych.so (LoadLibraryA)
ruby (43884): GetProcAddress
ruby (43884): LoadLibraryA
ruby (43884): Hooking F:/RailsInstaller/Ruby1.9.2/lib/ruby/1.9.1/i386-mingw32/stringio.so (LoadLibraryA)
ruby (43884): GetProcAddress
ruby (43884): LoadLibraryA
ruby (43884): Hooking F:/RailsInstaller/Ruby1.9.2/lib/ruby/1.9.1/i386-mingw32/digest/sha1.so (LoadLibraryA)
ruby (43884): GetProcAddress
ruby (43884): LoadLibraryA
ruby (43884): Hooking F:/RailsInstaller/Ruby1.9.2/lib/ruby/1.9.1/i386-mingw32/digest.so (LoadLibraryA)
ruby (43884): GetProcAddress
ruby (43884): LoadLibraryA
ruby (43884): Hooking F:/RailsInstaller/Ruby1.9.2/lib/ruby/1.9.1/i386-mingw32/zlib.so (LoadLibraryA)
ruby (43884): GetProcAddress
ruby (43884): LoadLibraryA
ruby (43884): Hooking F:/RailsInstaller/Ruby1.9.2/lib/ruby/1.9.1/i386-mingw32/openssl.so (LoadLibraryA)
ruby (43884): GetProcAddress
ruby (43884): LoadLibraryA
ruby (43884): Hooking F:/RailsInstaller/Ruby1.9.2/lib/ruby/1.9.1/i386-mingw32/bigdecimal.so (LoadLibraryA)
ruby (43884): GetProcAddress
ruby (43884): LoadLibraryA
ruby (43884): Hooking F:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/sqlite3-1.3.5-x86-mingw32/lib/sqlite3/1.9/sqlite3_native.so (LoadLibraryA)
ruby (43884): GetProcAddress
ruby (43884): LoadLibraryA
ruby (43884): LoadLibraryW
ruby (43884): WriteFile
ruby (43884): Hooking F:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/nokogiri-1.4.5-x86-mingw32/lib/nokogiri/1.9/nokogiri.so (LoadLibraryA)
ruby (43884): GetProcAddress
ruby (43884): Hooking F:/RailsInstaller/Ruby1.9.2/lib/ruby/1.9.1/i386-mingw32/racc/cparse.so (LoadLibraryA)
ruby (43884): GetProcAddress
ruby (43884): LoadLibraryA
ruby (43884): Hooking F:/RailsInstaller/Ruby1.9.2/lib/ruby/1.9.1/i386-mingw32/digest/md5.so (LoadLibraryA)
ruby (43884): GetProcAddress
ruby (43884): LoadLibraryA
ruby (43884): Hooking F:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/json-1.6.5/ext/json/ext/json/ext/parser.so (LoadLibraryA)
ruby (43884): GetProcAddress
ruby (43884): LoadLibraryA
ruby (43884): Hooking F:/RailsInstaller/Ruby1.9.2/lib/ruby/1.9.1/i386-mingw32/enc/utf_16be.so (LoadLibraryA)
ruby (43884): GetProcAddress
ruby (43884): LoadLibraryA
ruby (43884): Hooking F:/RailsInstaller/Ruby1.9.2/lib/ruby/1.9.1/i386-mingw32/enc/utf_32be.so (LoadLibraryA)
ruby (43884): GetProcAddress
ruby (43884): LoadLibraryA
ruby (43884): Hooking F:/RailsInstaller/Ruby1.9.2/lib/ruby/1.9.1/i386-mingw32/enc/utf_32le.so (LoadLibraryA)
ruby (43884): GetProcAddress
ruby (43884): LoadLibraryA
ruby (43884): Hooking F:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/json-1.6.5/ext/json/ext/json/ext/generator.so (LoadLibraryA)
ruby (43884): GetProcAddress
ruby (43884): LoadLibraryA
ruby (43884): WriteFile->
ruby (43884): WriteConsoleA: 10 "\e[32m.\e[0m"
ruby (43884): WriteFile->
ruby (43884): WriteConsoleA: 10 "\e[32m.\e[0m"
ruby (43884): WriteFile->
ruby (43884): WriteConsoleA: 10 "\e[32m.\e[0m"
ruby (43884): WriteFile->
ruby (43884): WriteConsoleA: 10 "\e[32m.\e[0m"
ruby (43884): WriteFile->
ruby (43884): WriteConsoleA: 10 "\e[32m.\e[0m"
ruby (43884): WriteFile->
ruby (43884): WriteConsoleA: 10 "\e[32m.\e[0m"
ruby (43884): WriteFile->
ruby (43884): WriteConsoleA: 10 "\e[32m.\e[0m"
ruby (43884): WriteFile->
ruby (43884): WriteConsoleA: 2 "\r\n"
ruby (43884): WriteFile->
ruby (43884): WriteConsoleA: 28 "\r\nFinished in 1.22 seconds\r\n"
ruby (43884): WriteFile->
ruby (43884): WriteConsoleA: 31 "\e[32m7 examples, 0 failures\e[0m"
ruby (43884): WriteFile->
ruby (43884): WriteConsoleA: 2 "\r\n"
ruby (43884): Terminating
cmd (44180): WriteConsoleW: 2 "\r\n"
cmd (44180): WriteConsoleW: 35 "F:\Sites\rails_projects\sample_app>"