IonicWind Software

Aurora Compiler => General Discussion => Topic started by: pistol350 on June 14, 2007, 08:05:19 AM

Title: is COM support added to Aurora yet ?
Post by: pistol350 on June 14, 2007, 08:05:19 AM
Hi Paul!
this example and explanations are very useful.

http://www.ionicwind.com/forums/index.php/topic,79.msg636.html#msg636 (ftp://http://www.ionicwind.com/forums/index.php/topic,79.msg636.html#msg636)

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.
Title: Re: is COM support added to Aurora yet ?
Post by: Ionic Wind Support Team on June 14, 2007, 08:25:03 AM
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.

Title: Re: is COM support added to Aurora yet ?
Post by: pistol350 on June 14, 2007, 10:31:52 AM
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
{
    ...
}


Title: Re: is COM support added to Aurora yet ?
Post by: Ionic Wind Support Team on June 14, 2007, 01:57:44 PM
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.