[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[List Home]
|
[platform-swt-dev] Accessing Active X dll from SWT giving error. Pls help
|
- From: "Binnoy" <binnoys@xxxxxxxxxxxxxxx>
- Date: Tue, 20 Sep 2005 12:22:25 +0530
- Delivered-to: platform-swt-dev@eclipse.org
- Importance: Normal
Hi,
I created an ActiveX dll using VB and registered it in another system
using
regsvr32 d:\\catworks\\Checkyear.dll
But when accessing from SWT application,
controlSite = new OleControlSite(frame, SWT.NONE, "Checkyear.LeapYear");
the following exception is thrown.
org.eclipse.swt.SWTException: Failed to create Ole Client. result
= -2147467262
at org.eclipse.swt.ole.win32.OLE.error(OLE.java:302)
at org.eclipse.swt.ole.win32.OleControlSite.<init>(OleControlSite.java:100)
at res.swt.com.Snippet123.main(Snippet123.java:41)
Can anyone just help? Thanks in Advance.
Binnoy.