Skip to main content

[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


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.



Back to the top