Re: [Win32Lib] weird RichEdit problem

new topic     » goto parent     » topic index » view thread      » older message » newer message

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

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.

BTW, I think I should change win32lib to look for 32.dll before 20.dll.

-- 
Derek Parnell
Melbourne, Australia

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu