Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsPassport via OLE automation
https://www.eclipse.org/forums/index.php/mv/msg/1088066/1770029/#msg_1770029
try {
frame = new OleFrame(shell, SWT.NONE);
clientSite = new OleClientSite(frame, SWT.NONE,
"Passport.system");
clientSite.doVerb(OLE.OLEIVERB_INPLACEACTIVATE);
addFileMenu(frame);
} catch (SWTError e) {
System.out.println("Unable to open activeX control.....");
display.dispose();
return;
}
--------------------------------------------------end of code ---------------------------------
I am getting below error :-
Exception in thread "main" org.eclipse.swt.SWTException: Failed to create Ole Client. result = -2147221164
at org.eclipse.swt.ole.win32.OLE.error(Unknown Source)
at org.eclipse.swt.ole.win32.OleClientSite.<init>(Unknown Source)
Can someone help me to fix it?
]]>Kripal Thakur2017-08-07T15:38:42-00:00Re: Passport via OLE automation
https://www.eclipse.org/forums/index.php/mv/msg/1088066/1770354/#msg_1770354
Please help.]]>Dario Ferrante2017-08-10T10:13:39-00:00