LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Controling a user interface with extern DLL

Hi,

 

I am currently developing an application that is based on a graphical interface. 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

0 Kudos
Message 1 of 3
(3,097 Views)

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.

0 Kudos
Message 2 of 3
(3,069 Views)

Thanks Trey C,

I want to finish this and we complete the discussion on topic Application Architecture.

Thank you

0 Kudos
Message 3 of 3
(3,059 Views)