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.
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.
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
{
...
}
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.