Re: Win32Lib bug
- Posted by "Cuny, David" <David.Cuny at DSS.CA.GOV> Nov 20, 1998
- 569 views
Robert Craig wrote: > I've found the cause of the 12-character string > bug in win32lib.ew. ... > iLength = iLength+1 When you mentioned that you changed allocate() and it got rid of the bug, I had a suspicion that under-allocated strings were the culprit - especially after I went through the structures and didn't see any more that seemed under-allocated. I'll look at the invocations of allot, allocate, fetch and store, and make sure they are all accounting for the extra byte. I also need to make another pass through the structures. The structures from the VB file don't take into account your suggested fix. That puts them in doubt, so I'm also am going through the Win32 help file, checking for arrays and other items which might not be accounted for in the VB API listing. Thanks again! -- David Cuny