Re: win32lib v60.5 error code 461
- Posted by Derek Parnell <ddparnell at bigpond.com> Sep 09, 2004
- 436 views
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