Re: exw.exe bugs ?

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

Flaminio writes:
[.exw program only works when "include file.e" is taken out]

I put your program in a temporary directory.
Then I typed:
       copy \euphoria\include\safe.e machine.e
       exw flaminio.exw

poke4() in safe.e terminated your program at the following line:

  poke4(ind+48, c_func(LoadIcon, {0, 32512}))

earlier you have:
       ind = allocate(48)
That's obviously not enough to allow for 4 bytes to be poked
starting at ind+48. i.e 48,49,50,51
You should allocate at least 52 bytes (or eliminate
the poke into ind+48). When I allocated 52 bytes the program
ran ok. safe.e didn't complain anymore.

Regards,
     Rob Craig
     Rapid Deployment Software
     http://www.RapidEuphoria.com

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

Search



Quick Links

User menu

Not signed in.

Misc Menu