ve still trying to work on the plugin but i cant get it to work
properly it seems to crash on any error that GDS sends back to it like
if the user cancels the plugin register, its already registers,
unregister it if its not registered, the extention is already
registered (or any extention), this is the code im using:
var
GDSRegister : TGoogleDesktopSearchRegister;
GDS : TGoogleDesktopSearch;
IGDS : IGoogleDesktopSearchComponentRegistration;
vdesc : OLEVariant;
ext : Variant;
GUID : string;
Guid := '{AF5D9CAE-4612-4B81-AA81-2426EB6008D3}';
vdesc := VarArrayCreate( [0, 5], varVariant );
vdesc[0] := 'Title';
vdesc[1] := 'test';
vdesc[2] := 'Description';
vdesc[3] := 'test';
vdesc[4] := 'Icon';
vdesc[5] := 'no icon';
GDSRegister := TGoogleDesktopSearchRegister.Create(GDSRegister);
CoInitialize(nil);
GDSRegister.RegisterComponent(Guid,vdesc);
IGDS.RegisterExtension('pla');
I cant seem to find any fault with it so if anyone with can please tell
me
Thanks again Chris Fuller