Page 1 of 1

COM Objects

Posted: Fri Aug 07, 2009 2:26 pm
by ConvertFromOldNGs
by Stephen Persson >> Thu, 22 Jun 2000 23:48:52 GMT

I have just recieved a COM object for handling online credit card payments that I would like to work into my app.
But how the heck do you use them!?

I've used activeX's OK, cause Jade creates the class for you with all its properties etc.. but this thing is a dll.
I assume I'll need to set up external functions for all the dll calls, but I also need to set properties on this object - but how do I do this if its not a Jade class?
If I make a class, similar to Jade would for an ocx, with all the properties of my object, how to I associate/link this with the the dll?

Re: COM Objects

Posted: Fri Aug 07, 2009 2:26 pm
by ConvertFromOldNGs
by Krull >> Fri, 23 Jun 2000 3:29:23 GMT
I have just recieved a COM object for handling online credit card payments that I would like to work into my app.
But how the heck do you use them!?

What category of component is it?

Jade 5.0 only supports Active-X controls, Jade 5.1 adds support for automation objects.

Re: COM Objects

Posted: Fri Aug 07, 2009 2:26 pm
by ConvertFromOldNGs
by Craig Shearer >> Sat, 24 Jun 2000 9:26:07 GMT

Hi Stephen

Recently we were given a COM component to enable allow an interface to an EFTPOS system. Since JADE can't talk to a COM component, I wrapped it up into an OCX using VB. While this was a bit of a pain, duplicating the COM component's interface, it did work nicely.

Did you know you can download a FREE version of Microsoft Visual Basic 5.0 that allows creation of ActiveX controls? It's called the Control Creation Edition - check the MS site.

HTH
Craig.

Re: COM Objects

Posted: Fri Aug 07, 2009 2:26 pm
by ConvertFromOldNGs
by Hido Hasimbegovic >> Sun, 25 Jun 2000 23:42:56 GMT

I did the same thing as Craig for MSXML.DLL . The result was a bit clumsy to use, but efficient XML parser for Jade!

Hido