Hi there all,

Wondering:

I have a class TDLL_GUIControl in my DLL.

Is there a way to link that class to a class in an application?

I mean:

Whiting DLL:
[pascal]
TDLL_GUIControl = class
private
public
RegisterSomthingFromApp;
DoSomething1;
DoSomething2;
end;
[/pascal]

Whitin MyApp
[pascal]
TMyApp_GUIControl = class(TDLL_GUIControl)
private
public
RegisterSomthingFromApp;
DoSomething1; override; // override stuff?
DoSomething2;
MyOwnDoSomething;
end;
[/pascal]

Currently I use functions like CreateButton(), CreateLabel(), SetText(), GetText(). It works nice and easy, but I was just wondering if something like I crappy described above.