A
Anand Ganesh
Hi All,
I need some help. I am sort of not sure how to approach this problem.
I have a MAINPROGRAM. This is the core application.
I have asked two of my staff to developed two different Windows Controls.
Say ControlA.dll and ControlB.dll.
As usual I know how to add these .dlls as the reference and then start using
these in my MAINPROGRAM.
Now my question is,
ControlA.dll has a button. If that button is clicked ControlA.dll should
call a function in my MAINPROGRAM and pass on a arraylist to the
MAINPROGRAM.
Similarly ControlB.dll has a button. If that button is clicked ControlB.dll
should call a function in my MAINPROGRAM and pass an integer and a float
value to the MAINPROGRAM.
How will I make these .dlls call one of the existing functions in my
MAINPROGRAM. Do I have to pass my MAINPROGRAM pointer to these .dlls?
In other words how will a component call the functions in the main
application from which the component is implemented.
Thanks
Anand Ganesh
I need some help. I am sort of not sure how to approach this problem.
I have a MAINPROGRAM. This is the core application.
I have asked two of my staff to developed two different Windows Controls.
Say ControlA.dll and ControlB.dll.
As usual I know how to add these .dlls as the reference and then start using
these in my MAINPROGRAM.
Now my question is,
ControlA.dll has a button. If that button is clicked ControlA.dll should
call a function in my MAINPROGRAM and pass on a arraylist to the
MAINPROGRAM.
Similarly ControlB.dll has a button. If that button is clicked ControlB.dll
should call a function in my MAINPROGRAM and pass an integer and a float
value to the MAINPROGRAM.
How will I make these .dlls call one of the existing functions in my
MAINPROGRAM. Do I have to pass my MAINPROGRAM pointer to these .dlls?
In other words how will a component call the functions in the main
application from which the component is implemented.
Thanks
Anand Ganesh