Hi,
I'm using Delphi 6, and I've run into a bit of a problem. I'm creating a DLL that is essentially a wrapper for a Delphi object. This code has been working for awhile now, but due to a change in the underlying object, the wrapper needs to be updated. Here's where I'm stuck.
There is a new property (called Contextor) on the Delphi object that gets and sets a TContextorControl. I have the contextor control, as it is defined in a separate TLB (in a project not written by me). How can I define the Contextor property with a Type of TContextorControl, a message shows up saying that TContextorControl is an invalid type.
I'm guessing that I need to somehow let my type library know what that interface of the TContextorControl is, but I'm not sure how to do that.
Any assistance would be greatly appreciated.
Thanks,
-Shane
I'm using Delphi 6, and I've run into a bit of a problem. I'm creating a DLL that is essentially a wrapper for a Delphi object. This code has been working for awhile now, but due to a change in the underlying object, the wrapper needs to be updated. Here's where I'm stuck.
There is a new property (called Contextor) on the Delphi object that gets and sets a TContextorControl. I have the contextor control, as it is defined in a separate TLB (in a project not written by me). How can I define the Contextor property with a Type of TContextorControl, a message shows up saying that TContextorControl is an invalid type.
I'm guessing that I need to somehow let my type library know what that interface of the TContextorControl is, but I'm not sure how to do that.
Any assistance would be greatly appreciated.
Thanks,
-Shane