Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » How to call OLE interface with LPWSTR
How to call OLE interface with LPWSTR [message #1778489] Thu, 14 December 2017 19:49
Martin Steckermeier is currently offline Martin SteckermeierFriend
Messages: 1
Registered: December 2017
Junior Member
I am currently dealing with an OLE interface that includes methods using LPWSTR instead of BSTR, e.g.

HRESULT GetString(
[in] LPWSTR sKey,
[in] LPWSTR sDefVal,
[out, retval] BSTR* sVal);

Is there any way to call such methods using IDispatch oder OleAutomation? As far as I could see Variant only supports "String"as type and converts it to BSTR but not LPWSTR.
Previous Topic:When will i get "SWT_Window1" or "SWT_Window2" as class name for objects ?
Next Topic:SWT Exception No more callbacks - Display
Goto Forum:
  


Current Time: Sun Sep 23 09:10:11 GMT 2018

Powered by FUDForum. Page generated in 0.02646 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top