Re: [Win32Lib] weird RichEdit problem
- Posted by "danielmoyer" <danielmoyer at prodigy.net> Sep 06, 2004
- 475 views
----- Original Message ----- From: "Derek Parnell" <guest at RapidEuphoria.com> To: <EUforum at topica.com> Sent: Monday, September 06, 2004 4:09 PM Subject: Re: [Win32Lib] weird RichEdit problem > > > posted by: Derek Parnell <ddparnell at bigpond.com> > > danielmoyer wrote: > [snip] > > > > Does this make it seem that if it's the .dll that's the problem, I would > > need to copy Riched32.dll from laptop to desk pc, rather than riched32.dll? > > The way win32lib works is that if first looks for riched20.dll. If found > it uses that, otherwise it tries to use riched32.dll Interesting, but confusing, since I have riched20.dll on both systems, & they appear to be exactly the same on both, yet I have different behavior on each. If Win32Lib is looking for 20dll first, & it's on both machines & it's the same, then shouldn't the richedit behavior be the same? > > You can changes behaviour to look for 32.dll before 20.dll by > editing w32dll.ew. Change ... > > riched32 = registerw32Library({"riched20.dll","riched32.dll"}), -- Rich Edit control > > to > > riched32 = registerw32Library({"riched32.dll","riched20.dll"}), -- Rich Edit control > > > Then have 32.dll inside your application directory. I think that'll work. I think for the moment I'll rename 20dll in win/system on desk pc, & copy 32dll from laptop to 20dll into win/system on desc pc, & see what that does; make sense? Dan > > BTW, I think I should change win32lib to look for 32.dll before 20.dll. > > -- > Derek Parnell > Melbourne, Australia >