March 29, 2024, 01:03:29 AM

News:

Own IWBasic 2.x ? -----> Get your free upgrade to 3.x now.........


is COM support added to Aurora yet ?

Started by pistol350, June 14, 2007, 08:05:19 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

pistol350

Hi Paul!
this example and explanations are very useful.

[url="http://www.ionicwind.com/forums/index.php/topic,79.msg636.html#msg636"]http://www.ionicwind.com/forums/index.php/topic,79.msg636.html#msg636[/url]

I wanted to know if you finally had a chance to add COM support to Aurora.
I assume not, as i can't find anything about it in the user guide.
Thanks!
Peter.
Regards,

Peter B.

Ionic Wind Support Team

Yes, Aurora has full COM support, has since the beginning, including inheritance from other iterfaces.  Just look at the example program shell_com_example.

Search the forums for the word "interface"  in the Aurora boards for hundreds of others ;).

Paul.

Ionic Wind Support Team

pistol350

June 14, 2007, 10:31:52 AM #2 Last Edit: June 14, 2007, 11:18:41 AM by pistol350
Thanks Paul!
I had a look to a lot of code samples.
If i got it right,
Classes stand for interfaces and
virtual methods stand for STDMETHODs as this :

interface IShellDispatch : IDispatch
{
/*** IShellDispatch methods ***/
declare virtual get_Application(IDispatch as POINTER),int;
....
....

Is that Right ?

EDIT : Mhhh   ::)
Now that i had another better look to the samples of code, it seems to me that Classes were used before as interface was not fully implemented.
But now , INTERFACE seems to be up to date.

Before :
class IDispatch : IUnknown
{
...
...
}
class IShellDispatch : IDispatch
{
    ...
}


Now :
INTERFACE IDispatch : IUnknown
{
...
...
}
INTERFACE IShellDispatch : IDispatch
{
    ...
}


Regards,

Peter B.

Ionic Wind Support Team

A virual class and an interface are the same thing,  You would use the CLASS keyword if you were making your own COM server and implementing the methods.

Ionic Wind Support Team