I don't want to use python because these reasons.

  1. I need to use a third party app to make exe from python code. (I think 
python is not for windows)
  2. Compiled exe is very large. A normal hello world gui app will size around 
4-5 MBs.
  3. Execution speed.



I will sure consider the other opinions about this issue. But before that, i 
would like to do some experiments.

> But how do you do the bookkeeping? For this, i have a work around like this.

  1. I have a Control class which had same members of all controls.
  2. I will cast the int into a Control class.
  3. All of my controls have a unique type id. Which is actually an enum.


    
    
    cType*  {. pure .} = enum
            Button, CheckBox, ComboBox, GroupBox, Label, ListBox, ListView, 
ProgressBar,
            RadioButton, TextBox
    
    
    Run

4\. So after casting, i will check the type id of that control and i will get 
the appropriate control. 

Reply via email to