10-12-2011 02:31 AM - edited 10-12-2011 02:32 AM
Hi,
I am currently developing an application that is based on a graphical interface. I divide my code into multiple DLLs. By going this route, I met several problems. I want to know some facts:
1 - from the DLL can I assign values to textbox, read listbox of the GUI:GetCtrlVal (panelHandle, PANEL_TEXTBOX, val); (the GUI is integrating in the project who call the DLL)
2 - I use global variables "extern int" in my files. h and my functions. How do I change this variable declaration when I migrate to the DLL.
If you have any exemple describing how can i control a GUI with extern DLL.
Thanks
10-13-2011 01:51 PM
Hey Fishingman,
It looks like this post is very similar to your other post on Application Architecture. If this is the case, let's continue this discussion on this thread so that it is easier to follow for anyone else who may be keeping up with this.
To expand on my original response a little though - if you are just looking to be able to modify the user interface in a dll then take a look at this link. It explains how to set up dll function calls to modify a user interface. Again, I wouldn't suggest building your entire GUI through different dlls but it is definitely possible to modify it within a dll.
Regards,
Trey C.
10-14-2011 02:25 AM
Thanks Trey C,
I want to finish this and we complete the discussion on topic Application Architecture.
Thank you