Hi Joe, I find the solotion on Staz web. See TN#43 PG's List Manager CDEF. Download and use ResEdit to place the following CDEF resource into PG: ftp://ftp.stazsoftware.com/pub/downloads/newpglmcd.sea.hqx Download and use ResEdit to place the follwong CDEF resource into other resource files or compiled applications: ftp://ftp.stazsoftware.com/pub/downloads/newlmcd.sea.hqx Hans JoeAtTIME@... wrote: > In a message dated 1/6/99 5:29:45 PM, you wrote: > > <<Hi, > I have problem with PG LMCD. > I start to create an empty LMCD list in PG, then I add one item to the > list. > I save my project and start FB II and compile all of the files in the > project. > Then in the window If only click on the single item in the list my > program will crash with error 1. If I have 2 item in the list it works. > > Hans > >> > > This one just bit me yesterday too. I have LMCD list that was working fine. > Yesterday, after adding some code to my project I found that FB would quit > with a type 1 error when I clicked on the list. The error only happens after > my code adds a string to the LMCD's string list. Before I add the string I can > click on the list all I want with no problem. After I add the string the > program will always crash when I click on the list even after restarting my > computer. I can fix the problem temporarly by opening the project with PG and > deleting the final string from the list. > > This is a hard bug for me to track. It only happens on my computer at work. At > home the code seems to work perfectly. Also the crash seems to be happening > before the program gets to my code. In fact I find that the crash happens > before the Runtime.INCL file gets to "PG:Btn" which sets the value for > gWhichButton. > > I know this behavior means I must be trashing memory some where. But since the > crash seems to be happening sometime before the program gets to my code I am > at a loss as to how to track it down. > > Any suggestions would be greatly appreciated. > > -Joe Lertola > > -- > To unsubscribe, send ANY message to <futurebasic-unsubscribe@...>