Re: (no subject) or DIR()
- Posted by Euman <Euman at triad.rr.com> Jun 24, 2006
- 778 views
On Sat, 2006-06-24 at 15:11 -0700, Sergio Gelli wrote: > > Hi Euman: > > Thanks a lot for the attention, but, seems that I am not with luck. > Please, looks at what the EFFM.exw happened when twirling: > When I tried to expand drive C, the program failed. sees > the error message. > > > C:\11USRE\DIR\EFFM.exw:292 in function myalloc() > A machine-level exception occurred during execution of this statement > ... called from C:\11USRE\DIR\treeviews.ew:195 in function GetParentItem() > ... called from C:\11USRE\DIR\EFFM.exw:969 in function WndProc() > > ^^^ call-back from Windows > ... called from C:\11USRE\DIR\EFFM.exw:1201 in procedure WinMain() > ... called from C:\11USRE\DIR\EFFM.exw:1205 > --> see ex.err > > Perhaps I must come back toward win-95 ) > But, I go to continue trying with the XP. > > As our friend Chris related, the function DIR() into > a tine code, works fine, but crash into a longe code > and depends on the position that this function is > inside of program. > > > Best Regards > > Srgio Gelli - Brasil Hello again, I can only assume that this is a very small issue in HeapCreate global atom pHeap pHeap = c_func(xHeapCreate,{0,16384,0}) this is not large enough try @ line:288 in effm.exw replacing 16384 w/ 32768 This increases the heaps initial buffer size If this solves the issue for you please let me know. Nothing has changed with the call or parms to HeapAlloc since Win-95 per http://msdn.microsoft.com/library/en-us/memory/base/heapalloc.asp?frame=true so I have no reason to suspect function myalloc() is a problem. Regards, Euman