Not in the current version, but you could modify the combobox.wgt and
progressbar.wgt files in the
lib/Widgets/vtcl folder to not export the routines. Comment out the Export
lines in those files.

For example, combobox.wgt has:

# Routines that need to be exported to a saved project

Export __combobox2_Setup
Export ::combobox2::combobox2
Export ::combobox2::Init
Export ::combobox2::SetClassBindings
Export ::combobox2::SetBindings
Export ::combobox2::Build
Export ::combobox2::HandleEvent
Export ::combobox2::DestroyHandler
Export ::combobox2::Find
Export ::combobox2::Select
Export ::combobox2::HandleScrollbar
Export ::combobox2::ComputeGeometry
Export ::combobox2::DoInternalWidgetCommand
Export ::combobox2::WidgetProc
Export ::combobox2::Configure
Export ::combobox2::VTrace
Export ::combobox2::SetValue
Export ::combobox2::CallCommand
Export ::combobox2::GetBoolean
Export ::combobox2::convert
Export ::combobox2::Canonize
Export ::combobox2::HumanizeList

Then put the combobox and progressbar code in one or more separate files.

CG



|---------+------------------------------------->
|         |           Eric Taylor               |
|         |           <[EMAIL PROTECTED]>      |
|         |           Sent by:                  |
|         |           [EMAIL PROTECTED]|
|         |           ceforge.net               |
|         |                                     |
|         |                                     |
|         |           03/07/2002 12:28 PM       |
|         |                                     |
|---------+------------------------------------->
  
>------------------------------------------------------------------------------------------------------------------------------|
  |                                                                                    
                                          |
  |        To:      [EMAIL PROTECTED]                                    
                                          |
  |        cc:                                                                         
                                          |
  |        Fax to:                                                                     
                                          |
  |        Subject: [vtcl-user] can i split out the "library routines"                 
                                          |
  |                                                                                    
                                          |
  
>------------------------------------------------------------------------------------------------------------------------------|




I am using vtcl with mktclapp, a program that combines
C and tcl together. It generates a C program with all
the tcl code imbedded as text strings.

Unfortunately, it generates each file as a single C
char array.

Well, visual C++, has a 64k byte limit on strings and
I just ran afoul of that when I tried to use the
combo box feature. This plus the progressbar code is
too large if inclosed in a single file.

Is there a way to get vtcl to output the library routines into separate
files?

thanks
eric


_______________________________________________
vtcl-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/vtcl-user




_______________________________________________
vtcl-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/vtcl-user

Reply via email to