https://bz.apache.org/ooo/show_bug.cgi?id=127731

--- Comment #10 from dam...@apache.org ---
Double clicking on "OpenOffice 4\program\odbcconfig.exe" with different AOO
versions:

Some branch I called "AOO41X-merge-base-2014-02-25":
Works, opens up successfully.

2ed47956e3ec22116d5164494008afeac3f699a1 from 2015-08-29:
Works, opens up successfully.

Some version I called 127624:
+----------------------------------------------------+
| odbcconfig.exe - Unable To Locate Component        |
+----------------------------------------------------+
| This application has failed to start because       |
| MSVCRT90.DLL was not found. Re-installing the      |
| application may fix the problem.                   |
+----------------------------------------------------+

A recent trunk:
+----------------------------------------------------+
| odbcconfig.exe - Unable To Locate Component        |
+----------------------------------------------------+
| This application has failed to start because       |
| MSVCRT90.DLL was not found. Re-installing the      |
| application may fix the problem.                   |
+----------------------------------------------------+

Comparing the odbcconfig.exe executables from these versions:
* All of them use imports from MSVCR90.DLL.
* MSVCRT90.DLL is only found in:
c:/WINDOWS/WinSxS/x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21022.8_x-ww_d08d0375/msvcr90.dll
c:/WINDOWS/WinSxS/x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.6161_x-ww_31a54e43/msvcr90.dll
* To load DLLs from this side-by-side assembly ("WinSxS"), you probably need a
manifest/assembly/whatever it's called.
* The odbcconfig.exe files that work, when opened in the "HT editor"
disassembler (https://sourceforge.net/projects/hte/) have a "pe/resources"
section with a single resource, which is an XML file <assembly ...> which
specifies the dependency on "Microsoft.VC90.CRT".
* The odbcconfig.exe files that don't work, when opened in the "HT editor",
HAVE NO "pe/resources" SECTION!!!

By the looks of it, most other executables we ship (uno.exe, regcomp.exe), also
lack the "pe/resources" section and give them same error. (The main executable,
soffice.exe, always has a "pe/resources" section and always works.)

Is it just me, or this the real problem here? Many executables, when built with
gbuild, don't contain a manifest to load MSVCRT90.DLL, and thus cannot be run
on Windows?

-- 
You are receiving this mail because:
You are the assignee for the issue.

Reply via email to