G
GTi
[now with correct date and time]
I have this solution:
[File A - WIndows EXE] -> [File B - LIB DLL] -> [File C - Plugin DLLs]
A knows about B but not C
C knows about B but not A
Type A can be a EXE file or NT Service
There can be many of type A loaded but not necessarily the same file.
Type C is a plugin that is loaded by A on runtime.
There can be many of type C available but not necessarily the same file.
Now the problem.
A have a status window giving the end user status of the program.
The status is given by C.
So I think I must implement a interfaces in B and implment it into A and C.
C send statuses to B and use A as subscribber to events/delegates from B.
But I have problem understanding how this can be done.
I have this solution:
[File A - WIndows EXE] -> [File B - LIB DLL] -> [File C - Plugin DLLs]
A knows about B but not C
C knows about B but not A
Type A can be a EXE file or NT Service
There can be many of type A loaded but not necessarily the same file.
Type C is a plugin that is loaded by A on runtime.
There can be many of type C available but not necessarily the same file.
Now the problem.
A have a status window giving the end user status of the program.
The status is given by C.
So I think I must implement a interfaces in B and implment it into A and C.
C send statuses to B and use A as subscribber to events/delegates from B.
But I have problem understanding how this can be done.