RE: EuGrid - was Runs w/I FOR JONAS
- Posted by Bernie Ryan <xotron at bluefrognet.net> Dec 02, 2002
- 560 views
Jonas Temple wrote: > jbrown, > > Thanks for the suggestion, I'll give it a try. > > And yes, I did try using safe.e in place of machine.e. Of course the > problem you run into when using win32lib is that tk_mem uses the Windows > memory management routines so when a routine in tk_mem does a peek or > poke against that memory safe.e shows an error, which is not true. My > solution was to create a version of tk_mem that uses Euphoria's allocate > and free routines instead (I also had to use register_block in other > places in my code as well). Of course the bound program ran fine > then... > > Derek, I would also like to get the traceable version of win32lib as > well. Anything to help. > > Now if I can just have some Tylenol and antacid delivered..... > Jonas: I don't know if you read my last post so I'll try again. I can't seem to post using the web interface. Are you sure that your public domain exw.exe file that you are binding to is patched to run win32 programs above version 4.00. If you search the old messages in the archive you find out more about this problem. You may be running your program with a newer version of the interpreter and binding with an older version of the public domain interpreter. ======= Heres about how to do the patch from the archive ================================================================= RE: win32 programmers.....CBEX and work around Derek Parnell Jul 25, 2002 16:42 PDT Thanks Tone, this "fix" works fine for me too. I just used Code-Genie to edit the exw.exe file and that did it. At byte offset #C8, change the three bytes there (#03 #00 #0A in my case) to #04 #00 #00 ================================================================== Bernie