Page 1 of 1

A Bug in "RVOfficeConverter"

Posted: Tue Jan 07, 2014 5:58 am
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);

Posted: Thu Jan 09, 2014 4:07 pm
by Sergey Tkachenko
Sorry, this change is incorrect.
Converters are 32-bit applications and their list is written in 32-bit Registry.

Posted: Sat Jan 11, 2014 4:17 am
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.

Posted: Sat Jan 11, 2014 8:30 pm
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.