Using a Java Class from Jade

For questions and postings not covered by the other forums
ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Using a Java Class from Jade

Postby ConvertFromOldNGs » Fri Aug 07, 2009 11:58 am

by Chris Garty >> Wed, 22 Nov 2000 22:49:40 GMT

Hi,

I have a Java class that does some stuff (don't ask) that I can't do with Jade.
I need to be able to use this class from Jade.

I created a dll and tried using the external function functionality in Jade to access it, but that wasn't right since I needed to 'create' an instance of the Java class.

After remembering the msxml.dll example, I imported the dll as an ActiveXAutomation class and did the declare, create, function call, delete. ---
callObject : Invoker;
create callObject;
xmlOutput := callObject.invokeXML(xmlInput);
delete callObject;
---

But this doesn't work. It gives a hideous error when the create line is encountered.
---
Type: UserInterfaceException
Error Code: 14128
Continuable: No
Error accessing ActiveX type information
Window error = 0x80004001
Not implemented
---

So... what is ActiveX type information ? Do I need to implement something (a method) in the Java class?

Any help is greatly appreciated.

Thanks

Chris Garty
PricewaterhouseCoopers

Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 11 guests