Re: IDE installation problem
- Posted by Marc Giao <giao at sympatico.ca> Oct 21, 2004
- 611 views
Derek Parnell wrote: > > > I know about another user (why he did not post I don't know) who got exactly > > > > the same problem: code crashed on the win98 laptop and runs fine under XP, > > now > > that that machine is up and running again. That was not the case before he > > upgraded to 0.60.6, I don't know what the older version was. > > I don't doubt that there is a mistake in my code, but I can't work out > how to find it. The code works without fault on my XP system. > > -- > Derek Parnell > Melbourne, Australia > Maybe I can help, I had the same problem with 60.6, then, I remembered Derek provided a fix for 60.5. When I looked in my download of 60.6 the fix had not been added. After adding the fix as per Derek's post bellow my version of 60.6 works... a ok! Hope it helps Marc =============Derek's post follows===================== Date: 2004 Sep 9 23:40 From: Derek Parnell <ddparnell at bigpond.com> Subject: Re: win32lib v60.5 error code 461 I messed up with RichEdit on old Windows systems. Look in the w32DLL.ew include file. Naar the end of the file you will see some code dealing with RichEdit classes. Replace all after the comments ...
--/topic Constant --/const riched32 --/desc Windows Library: Rich Edit Control
with ...
global constant riched32 = registerw32Library({"Msftedit.dll","riched20.dll","riched32.dll"}), -- Rich Edit control WC_RICHEDIT10 = "RICHEDIT", WC_RICHEDIT20 = "RichEdit20A", WC_RICHEDIT50 = "RICHEDIT50W" global sequence WC_RICHEDIT vw32Libraries[riched32][1] = linkDLL(vw32Libraries[riched32][2]) if vw32Libraries[riched32][1][1] = 1 then WC_RICHEDIT = WC_RICHEDIT50 elsif vw32Libraries[riched32][1][1] = 2 then WC_RICHEDIT = WC_RICHEDIT20 else WC_RICHEDIT = WC_RICHEDIT10 end if
-- Derek Parnell Melbourne, Australia =============Derek's post ends=====================