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:Insert a text box in between a composite from super class
Next Topic:SWT Exception No more callbacks - Display
Goto Forum:
  


Current Time: Tue Apr 16 05:18:44 GMT 2024

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

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

Back to the top