Re[4]: SHBrowseForFolder
- Posted by "Thomas Parslow (PatRat)" <tom at almostobsolete.net> May 17, 2002
- 418 views
> Thomas, > It fails at "release_mem(memfolder)", but only when the parent folder has > approx. 130 files under it, parent with 121 works fine. > Dan Moyer I've found a bug, the only thing I can't work out is why it *doesn't* crash on my machine... Change the aquire_mem line to: memfolder= acquire_mem(0,repeat(' ',512)&0) The parameters passed to repeat were passed in the wrong order, so only 1 byte of memory was actually allocated and SHGetPathFromIDList was overwriting unallocated memory! Thomas Parslow (PatRat) E-Mail/Jabber: tom at almostobsolete.net ICQ: 26359483