Open GoogleCodeExporter opened 9 years ago
where (exactly) you execute execute "sham cl main.cpp"?
On my system I get following error, but no "Close program"
sham: DetourCreateProcessWithDll failed: 0x00000006
Yep, detours... Thought sham hooks clashes with ConEmu hooks :)
ATM the solution is:
sham cl main.cpp -cur_console:i
Original comment by ConEmu.Maximus5
on 8 Nov 2012 at 9:22
I started sham from FAR but start from default CMD.EXE is the same. My crash
reports seems not so informative:
Problem signature:
Problem Event Name: BEX
Application Name: main.exe
Application Version: 0.0.0.0
Application Timestamp: 509cd8ab
Fault Module Name: StackHash_b4ee
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 00000000
Exception Offset: 73c99f00
Exception Code: c0000005
Exception Data: 00000008
OS Version: 6.1.7601.2.1.0.256.1
Locale ID: 1033
Additional Information 1: b4ee
Additional Information 2: b4ee5de6a2322745523997a782b35692
Additional Information 3: 277e
Additional Information 4: 277e19c30fbd5f6bb531ec9e027c37c3
or:
Problem signature:
Problem Event Name: APPCRASH
Application Name: make.exe
Application Version: 0.0.0.0
Application Timestamp: 00000000
Fault Module Name: StackHash_b4ee
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 00000000
Exception Code: c0000005
Exception Offset: 73c99f00
OS Version: 6.1.7601.2.1.0.256.1
Locale ID: 1033
Additional Information 1: b4ee
Additional Information 2: b4ee5de6a2322745523997a782b35692
Additional Information 3: 277e
Additional Information 4: 277e19c30fbd5f6bb531ec9e027c37c3
If You use a Borland makefile like this:
main.exe: main.cpp
sham cl main.cpp
...and then start make.exe then no crash.
-cur_console:i also works well :)
Original comment by nanofo...@gmail.com
on 9 Nov 2012 at 10:28
[deleted comment]
[deleted comment]
Aha! I did not used "Inject ConEmuHK". If I using it then I get same error as
You:
sham: DetourCreateProcessWithDll failed: 0x00000006
or:
tup error: failed to inject dll: No such file or directory
Moreover, if "Inject ConEmuHK" is on and I call these programs from makefile,
then they gives therse errors. Without "Inject ConEmuHK" and called from
makefile they works well.
Again, I just did opened this issue to inform You - seems to be a very low
priority problem :)
Original comment by nanofo...@gmail.com
on 9 Nov 2012 at 11:55
Just for the history. The problem described in the ConEmuHk wiki, workaround
described there too.
Original comment by ConEmu.Maximus5
on 2 Dec 2013 at 10:17
Original issue reported on code.google.com by
nanofo...@gmail.com
on 8 Nov 2012 at 8:46