Re: ver 4.0 c_func problem on WIN98

new topic     » goto parent     » topic index » view thread      » older message » newer message

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).

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu