To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=91079
------- Additional comments from mark_irv...@openoffice.org Tue Jan 18 10:54:53 +0000 2011 ------- OOo issue 91079 - "Microsoft Windows Address Book" database does not work on Vista http://www.openoffice.org/issues/show_bug.cgi?id=91079 I have tried this with later releases of OOo, up to and including 3.3 RC9. It's still not working (although this clearly is not a showstopper for 3.3). It would be lovely to see a fix in 3.3.1 or 3.4, though. 1. Cause Incorrect processing of a pathname read from the Windows registry in Mozilla's address-book library, as described in Mozilla bug 573349 - windows 7 Contacts can't be displayed because wap32.dll loading fails. 2. Workround Modify the Windows registry (regedit, as administrator). Navigate to the first of these keys you find - the first on a 64-bit Windows system and the second on a 32-bit system. HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\WAB\DLLPath HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WAB\DLLPath Save a copy of the contents of this key using File > Export, in case of mistakes and so that you can restore your system when this OOo problem is fixed. It will contain a value similar to this: (default) = REG_EXPAND_SZ %CommonProgramFiles(x86)%\Common Files\System\wab32.dll Edit it to expand the variable part %CommonProgramFiles(x86)% as if this value were a REG_SZ. The exact translation varies, and you may have to re-do this edit if your Windows system is reconfigured. Look up the value of CommonProgramFiles(x86) using a command prompt window and the SET command. On my 64-bit system the value should become (default) = REG_EXPAND_SZ C:\Program Files (x86)\Common Files\System\wab32.dll Now OpenOffice Base can connect to the Windows address book -- a bit slowly, but that's Windows. 3. Supplementary problems The bug was harder to find than it should be, because the error message for this failure does not include any information except that opening the address book has failed. Something which mentioned the path to WAB32.DLL which it tried to load, and the file-system error code which it encountered, would have been a great improvement. To test this particular problem all that is necessary is to open an OOo database connected to the Windows Address Book and perform any operation which depends on a table existing. The contents are not relevant, and there is no need to define any particular address information. 4. Details and notes for fixing this fault Microsoft documentation on MSDN - About Windows Address Book http://msdn.microsoft.com/en-us/library/ms629733%28VS.85%29.aspx Gives a cryptic description of "Loading the WAB32.dll" Mozilla bug 573349 - windows 7 Contacts can't be displayed because wap32.dll loading fails https://bugzilla.mozilla.org/show_bug.cgi?id=573349 Accurately describes the problem and identifies the correct place for a code fix. I think the code change suggested is over-complicated, because it repeats code packaged by Microsoft, and fragile, because it translates only one environment variable at the start of the registry value. A better fix would use ExpandEnvironmentStrings() in place of the block starting if( wabDLLPath[0] == '%' ) or to fetch the value from the registry using SHRegGetValue() which includes this functionality automatically for all REG_EXPAND_SZ data. (The Microsoft documentation which labels SHRegGetValue as deprecated applies only if you are not trying to support Windows XP, since its replacement, RegGetValue, is available only from Vista onwards.) --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@dba.openoffice.org For additional commands, e-mail: issues-h...@dba.openoffice.org --------------------------------------------------------------------- To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org