Re: EuGrid - was Runs w/Interpreter but not as .exe
- Posted by tubby.toast at ntlworld.com Dec 02, 2002
- 572 views
> > > I rarely come out of lurk mode and have been waiting for someone else to > > > suggest this and can't believe that no-one, even Rob, has. Rename > > > machine.e > > > to something else; rename safe.e to machine.e and run your program > > > unbound. > > > I have always tracked down errors of this nature this way. Not > > > guaranteed > > > but worth a try. > > > > > > chris. > > > > 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... Ooops, obviously not paying as much attention as I thought. Always works for me as I never upgraded beyond version 0.45r of win32lib. Back to lurk mode then... chris.