M
Mark
Im just a bit playing with C++ so please no questions on why i am
doing it.
This is what i am creating:
I have an application that can load dll's
Such a dll will then act as a normal program but creating all the
visual stuff is handled by the main program.
example:
-dll starts
-dll wants to display a form so it calls the createform function from
the main applicaiton
-the main appliaction creates the form
-dll wants to display a button so it calls the create button function
-the main application creates a button on the form.
Now comes the part i can't get to work.
I want to use one (or few) function(s) the set all the properties of
any object.
example:
-dll calles functions setproperty with variables indicating that is
wants to set the height to 10
-main applications searches for the wanted object and sets the height
to 10.
locating the object is easy but how can i set that property? i dont
know what kind of object the dll will use until the program is running
doing it.
This is what i am creating:
I have an application that can load dll's
Such a dll will then act as a normal program but creating all the
visual stuff is handled by the main program.
example:
-dll starts
-dll wants to display a form so it calls the createform function from
the main applicaiton
-the main appliaction creates the form
-dll wants to display a button so it calls the create button function
-the main application creates a button on the form.
Now comes the part i can't get to work.
I want to use one (or few) function(s) the set all the properties of
any object.
example:
-dll calles functions setproperty with variables indicating that is
wants to set the height to 10
-main applications searches for the wanted object and sets the height
to 10.
locating the object is easy but how can i set that property? i dont
know what kind of object the dll will use until the program is running