Bug 84097 - Windows: Unit test & extend native calling
Summary: Windows: Unit test & extend native calling
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: BASIC (show other bugs)
Version: 4.3.0.2 rc
Hardware: Other All
: medium normal
Assignee: Not Assigned
QA Contact:
URL:
Whiteboard: EasyHack DifficultyInteresting SkillC...
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-19 13:50 UTC by Michael Meeks
Modified: 2014-09-19 13:52 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
An initial attempt to extend this to the (64bit) currency type. (1.44 KB, patch)
2014-09-19 13:52 UTC, Michael Meeks
Details | Splinter Review

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.