COM Objects

Forums for specific tips, techniques and example code
ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

COM Objects

Postby ConvertFromOldNGs » Fri Aug 07, 2009 2:26 pm

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?

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: COM Objects

Postby ConvertFromOldNGs » Fri Aug 07, 2009 2:26 pm

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.

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: COM Objects

Postby ConvertFromOldNGs » Fri Aug 07, 2009 2:26 pm

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.

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: COM Objects

Postby ConvertFromOldNGs » Fri Aug 07, 2009 2:26 pm

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


Return to “Tips and Techniques”

Who is online

Users browsing this forum: No registered users and 27 guests