On 15 Nov, Rick Macdonald wrote:
> On Sat, 15 Nov 1997, Brian T Hills wrote:
> 
>> Is it possible to write some functions in C and incorporate them within vtcl
>> when constructing an application?
>> 
>> Is there a simple solution to this problem?
> 
> Not a problem. Just run vTcl with your customized version of wish by
> putting it into the vtcl script: 
>          PATH_TO_WISH=/usr/local/bin/mywish
> If you are creating shared libraries (DLL's) you probably just load them
> into the regular wish that is running vTcl by placing the load command
> into the "init" proc that vTcl always creates for each application. I
> haven't used DLLs myself yet.
> 

I've used both approaches and can assure you that both work fine. I
recommend using DLL's since your code then becomes more portable and
you don't need to have multiple versions of wish installed.

It'd be really cool if BLT, Tix, TclX and the like could be loaded in
this manner also.

-- 
Laurent Duperval, Systems Analyst       Grafnetix Systems Inc.
Tel: (514) 861-3389                     777, de la Commune Ouest
Fax: (514) 866-6206                     Suite 101, Montreal, Qc
[EMAIL PROTECTED]                   Canada, H3C 1Y1
URL:            http://www.Grafnetix.COM/
Personal URL:   http://www.Grafnetix.COM/~laurent/

---------------------------------------------------------------------------
To unsubscribe from the Visual Tcl mailing list, please send a message
to [EMAIL PROTECTED] with "unsubscribe vtcl [EMAIL PROTECTED]" in the
message body (where [EMAIL PROTECTED] is your e-mail address).

Reply via email to