Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] SWT OLE/ActiveX with LicenseKey


Please see https://bugs.eclipse.org/bugs/show_bug.cgi?id=35583 and carry on the discussion there.  Thanks.



"Hausmann Stefan" <stefan.hausmann@xxxxxxxxxxxxxx>
Sent by: platform-swt-dev-bounces@xxxxxxxxxxx

11/05/2008 01:08 PM

Please respond to
"Eclipse Platform SWT component developers list."        <platform-swt-dev@xxxxxxxxxxx>

To
<platform-swt-dev@xxxxxxxxxxx>
cc
Subject
[platform-swt-dev] SWT OLE/ActiveX with LicenseKey





I want to include an ActiveX object to my Eclipse/SWT application.
The SWT-Examples (Excel, Word, …) work fine.
But my ActiveX requires a License Key while creating the object. (Else I get an exception with the MicrosoftCode -2147221230)
That means in C++-Code the Control is created by:
CWnd::CreateControl(Clsid(), NULL, Style, rect, (CWnd*)pwndParent, UniqueResId(), NULL, FALSE, bstrLicenseString);
>>> the licenseKey is a part of the WinAPI/MFC
 
How to do this in Eclipse?
The OleClientSite class/constructor does not include the LicKey as a parameter.
 
Thanks for help!
 
Stefan_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev


Back to the top