Delphi Pages Forums  

Go Back   Delphi Pages Forums > Delphi Forum > General

Lost Password?

Thread Tools Display Modes
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),
public interface IReadCookie
void GetItem(object key, out object val);
object HasKeys();
void GetNewEnum();
void GetCount(out int count);
object GetKey(object key);

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

IReadCookie = interface(IUnknown)
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;
I do not know what a object is in c++

Can some one help
Reply With Quote

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 03:30 PM.

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