Re: EuGrid - was Runs w/Interpreter but not as .exe
- Posted by Derek Parnell <ddparnell at bigpond.com> Nov 27, 2002
- 507 views
Jonas, On Tue, 26 Nov 2002 23:30:02 +0000, Jonas Temple <jktemple at yhti.net> wrote: > > Phil, > > I've been running my program using safe mode memory handling and one thing > that came up is in the EGW_OnParentEvent routine around line 3350 there's > a call to the fetch() routine in tk_mem.e that passes the lParam parm and > the diHwndItem. I was under the impression that the lParam was not a > pointer but a value. In the fetch() routine a peek4s() is being done at > s[1] + struct + s[5]. If the lParam is a value then wouldn't this be a > problem? If it's a pointer then I need to go back to the win32lib docs! If lParam is a value and not a pointer, and Phil is using it as the FIRST parameter to fetch() then there could be problems. How did you detect this anomoly, Jonas? Did using the safe-mode help you or not? > I didn't get any further than that. What I did was I created a version of > tk_mem.e that uses the Eu allocate() and free() instead of the windows > memory routines. I then used safe.e in place of machine.e. Did you actually find anything wrong with my safe-mode tk_mem.e? If so, I'd like to fix it. -- cheers, Derek Parnell