https://issues.apache.org/ooo/show_bug.cgi?id=112064
[email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #79883| |review? Flags| | --- Comment #2 from [email protected] --- Created attachment 79883 --> https://issues.apache.org/ooo/attachment.cgi?id=79883&action=edit Provide Declare Function on other operating systems Here is a patch that uses Dyncall (http://dyncall.org) to implement "Declare Function" on non-Win32 operating systems. It has a number of limitations, such as no support for arrays or structs, because Dyncall doesn't support those. I've also changed string marshalling to marshal back as many bytes as went through. This is what Visual Basic does (http://support.microsoft.com/kb/175512/EN-US) and it's the only way to implement functions like GetLogicalDriveStringsA properly. Also in the marshal() function, I've commented out the code that always marshals strings by value unless VBA is enabled. Integration with the build system could use some improvement - currently Dyncall has to be installed for AOO to compile... -- You are receiving this mail because: You are on the CC list for the bug.
