Bug 84097

Summary: Windows: Unit test & extend native calling
Product: LibreOffice Reporter: Michael Meeks <michael.meeks>
Component: BASICAssignee: Not Assigned <libreoffice-bugs>
Status: NEW --- QA Contact:
Severity: normal    
Priority: medium    
Version: 4.3.0.2 rc   
Hardware: Other   
OS: All   
Whiteboard: EasyHack DifficultyInteresting SkillCpp TopicCleanup
i915 platform: i915 features:
Attachments: An initial attempt to extend this to the (64bit) currency type.

Description Michael Meeks 2014-09-19 13:50:55 UTC
Our internal StarBasic / VBA code has the ability to call native functions. Checkout:

basic/qa/vba_tests/win32compatb.vb

Private Declare Function QueryPerformanceCounter Lib "kernel32" (lpPerformanceCount As LARGE_INTEGER) As Long

eg. The calling functionality (for windows only) is in:

basic/source/runtime/dllmgr-x86.c

It would be wonderful to have systematic tests here; create a new / test shared library / DLL on windows that exports a number of the native types, and then invoke those methods for each type from basic - and check the results =)

Thanks !
Comment 1 Michael Meeks 2014-09-19 13:52:52 UTC
Created attachment 106550 [details] [review]
An initial attempt to extend this to the (64bit) currency type.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.