Re: win32lib v60.5 error code 461
- Posted by Don <eunexus at yahoo.com> Sep 10, 2004
- 420 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 ... > > }}} <eucode> > --/topic Constant > --/const riched32 > --/desc Windows Library: Rich Edit Control > </eucode> {{{ > > with ... > }}} <eucode> > > 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 > </eucode> {{{ > > -- > Derek Parnell Hey Derek, maybe you can educate me a little bit on this topic. I was looking at this exact routine yesterday trying to determine the problem from the log file he specified. I can see the changes you made above, but I dont see how this is going to help him. I dont know much about Msftedit.dll (im going to do some research into it now), but I dont see how this fixes it as in the log it shows him using RichEdit20A... Very likely I find the answer to my own question when I look into it... =) Don Phillips - aka Graebel National Instruments mailto: eunexus @ yahoo.com