I've been developing a set of simple components (derived from TComponent) which need
to do 2 things :-
1. Generate and handle windows messages as a means of managing internal data without, for example, destroying classes from within their own methods.
2. Work in conjunction with other components - for example, hooking into method pointers of components which might not exist at the time of creation (hence the need for a create message)
The components in question are a server and services which hook into it
The server component maintains a list of connected clients and handles data transfer.
The service component manages a subset of the servers clients, transfers them between other services and provides methods for the user.
I've been reading up on the windows API and from what I understand, I would need to create a window for each component. Slightly less than straight-forward but on top of all that, there are considerations such as threads and use within DLL's and thats where it becomes more trouble than its worth.
Is there no easier way to do it since I would eventually like to make these components publically available