A Bug in "RVOfficeConverter"

General TRichView support forum. Please post your questions here
Post Reply
mohsen24000
Posts: 75
Joined: Fri Jan 06, 2012 8:13 pm

A Bug in "RVOfficeConverter"

Post by mohsen24000 »

Hi Dear Sergey
there is a problem in RegOpenKeyEx on windows x64.
please change:
RegOpenKeyEx(HKEY_LOCAL_MACHINE, PChar(RegPath), 0, KEY_READ , Key);
to:
RegOpenKeyEx(HKEY_LOCAL_MACHINE, PChar(RegPath), 0, KEY_READ or KEY_WOW64_64KEY , Key);
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Sorry, this change is incorrect.
Converters are 32-bit applications and their list is written in 32-bit Registry.
mohsen24000
Posts: 75
Joined: Fri Jan 06, 2012 8:13 pm

Post by mohsen24000 »

Sergey Tkachenko wrote:Sorry, this change is incorrect.
Converters are 32-bit applications and their list is written in 32-bit Registry.
Thanks, but my ms office is 64bit installed on windows 7 64bit.
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

In any case, 32bit applications can use only 32bit dlls, and 64bit applications can use only 64bit dlls.
Even if MS Office installs some 64bit converters, they cannot be used by 32bit applications.

I did not test 64bit version of MS Office, but I think it does not install any converters (or at least it does not install converters that can be used by TRVOfficeConverter, even if it is compiled in 64bit application).

Actually, new versions of MS Word do not install (or almost do not install) converters.
Some converters can be downloaded from here: http://www.microsoft.com/en-US/download ... .aspx?id=3
These are 32-bit dlls, but they can be used both in 32bit and 64bit Windows (but only by 32bit applications)
Previously, Microsoft allowed downloading one more pack of converters supporting older formats, but now this download is removed.
Post Reply