To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=115795





------- Additional comments from [email protected] Thu Jan 20 16:13:23 +0000 
2011 -------
@ab:  A related problem (related to how Basic generally passes ByRef strings
with "external DLL" calls, and how that changed for OOo 3.3) has come up in the
mail thread at
<http://extensions.openoffice.org/servlets/ReadMsg?list=dev&msgNo=2031>:  In the
ImportWizard.API module that is part of the standard OpenOffice.org Macros,
RegQueryValueExString is declared as an alias for RegQueryValueExA with
(implicitly ByRef) "lpData As String" parameter.  This causes code that uses
that function to fail (e.g., as explained in the mail, 'MsgBox
ImportWizard.API.QueryValue(HKEY_CURRENT_USER,
"Software\Microsoft\Notepad","szTrailer")' displays an empty string).  If the
relevant ImportWizard.API module code is changed to "ByVal lpData As String" the
given test would succeed.

The assumption might turn out wrong after all that OOo 3.2's handling ByRef
string parameters in "external DLL" calls the same as ByVal was erroneous.  (I
was not aware that the Basic "external DLL" feature was used in the standard
OpenOffice.org Macros, and apparently neither were the QA people for issue
115716 and the original Hamburg-internal issue #162141#, or else this would have
been tested.)

---------------------------------------------------------------------
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: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to