Re: ver 4.0 c_func problem on WIN98
- Posted by jimcbrown (admin) Apr 22, 2009
- 1195 views
I just tested 1971 with a slightly different machine code:
Here is the output with eui:
9
And here is the source code:
include std/dll.e include std/machine.e sequence mcode2 mcode2 = { #55, #89, #E5, #8B, #45, #08, #C9, #C3 } object x, addr addr = allocate(20) poke(addr, mcode2) x = define_c_func("", {'+', addr}, {C_INT}, C_INT) ? c_func(x, {9})
euiw doesn't work, the window flashes and then immediately disappears, despite the fact that it is being run from a DOS Command Prompt (thus from another console window).