Page 2 of 2

Posted: Tue Oct 30, 2007 8:22 pm
by Bonne_den_kule
Nice tutorial.

Posted: Wed Oct 31, 2007 2:49 am
by pdwyer
are there any examples around of how this works? Just a simple skeleton so I can see a full yet short piece of code that runs?

Maybe something like geting the size of a harddisk from wmi or using a filesystemopbject

Posted: Thu Nov 01, 2007 8:43 am
by electrochrisso
I agree, a nice tutorial :D
Keep up the good work.

Posted: Fri Nov 30, 2007 3:12 pm
by SimpleMind
Thanks Freak! Nice work.

Posted: Fri Nov 30, 2007 3:23 pm
by srod
Aye, read freak's tutorial first and then a couple more scattered about the web and suddenly COM doesn't look quite such a tough nut to crack after all. Very simple actually if just using existing components.

I even read a tutorial on creating com objects in c and even this doesn't look massively complex. Although the question of how (and when) you create GUID's does puzzle me a little! Still, why the hell would I want to create a com object anyhow?

Oh yea, the damn Window's shell...

:)

Posted: Fri Nov 30, 2007 7:48 pm
by SimpleMind
Hi srod,

Yeah, I know. Once you know about the vtable stuff it's becomming clearer and that you just use an table of function pointers..... The Variant was a hurdle too but looks easy now.

I know the C stuff article: "COM in plain C", nice stuff. There is a whole series of it at The Code Project.

Why would I use COM. I want just to pull on the strings to play with MSWord from PureBasic.