Delphi Pages Forums  

Go Back   Delphi Pages Forums > Delphi Forum > General

Lost Password?

Reply
 
Thread Tools Display Modes
  #1  
Old 05-26-2016, 10:03 AM
lexd lexd is offline
Senior Member
 
Join Date: Feb 2015
Posts: 268
Default how to build a ActiveX interface

I question if I'm on my own hear with this, Remarkably I found this code (below) On top of IReadCookie their is IWriteCookie

[ComImport, InterfaceType(ComInterfaceType.InterfaceIsDual),
Guid("71EAF260-0CE0-11D0-A53E-00A0C90C2091")]
public interface IReadCookie
{
void GetItem(object key, out object val);
object HasKeys();
void GetNewEnum();
void GetCount(out int count);
object GetKey(object key);
}


Guid("D97A6DA0-A862-11cf-84AE-00A0C90C2BD8")
public interface IWriteCookie
But I cannot get method details to this interface


What do I need to complete a GUID interface to directly writing and reading cookies correctly and convert it to Delphi

type
IReadCookie = interface(IUnknown)
['{71EAF260-0CE0-11D0-A53E-00A0C90C2091}']
Procedure GetItem(key: TObject; Var Val: Object); stdcall;
Function HasKeys: Object; stdcall;
Procedure GetNewEnum; stdcall;
Procedure GetCount(Var Count: integer); stdcall;
Function GetKey(key: Object): Object; stdcall;
end;
I do not know what a object is in c++

Can some one help
Reply With Quote
Reply

Tags
activex, delphi

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT. The time now is 02:20 PM.


Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2019, vBulletin Solutions, Inc.