Hi Alan,

> -----Original Message-----
> From: Arjen Markus [mailto:[email protected]]
...
>
> I think I know what is going on:
> When I use the ntk device with a Tcl interpreter program like tclsh or pltcl, 
> this device
> will still create a new Tcl interpreter which is completely independent of 
> the one in the
> original program.
> Not sure where that will lead to, but that is at least one important 
> difference with the
> C examples.
>

Well, that was not what was going wrong: for some reason the field "plwindow" 
is set and
that was used as the name of a Tk widget. But since it did not start with a 
dot, Tk did not
accept that. And since the tk_cmd function does not check for errors, no error 
message
was ever printed.

Meanwhile I have the ntk device working on both Cygwin and bare Windows. Which 
is
quite nice a result :).

I still need to fiddle a bit with the CMake logic, as it seems to turn on the 
tk and tkwin
devices which do not compile under bare Windows.

My ultimate goal is to turn this device into a regular Tk widget, so that it 
can be used as
part of a Tcl/Tk GUI.

Regards,

Arjen
DISCLAIMER: This message is intended exclusively for the addressee(s) and may 
contain confidential and privileged information. If you are not the intended 
recipient please notify the sender immediately and destroy this message. 
Unauthorized use, disclosure or copying of this message is strictly prohibited. 
The foundation 'Stichting Deltares', which has its seat at Delft, The 
Netherlands, Commercial Registration Number 41146461, is not liable in any way 
whatsoever for consequences and/or damages resulting from the improper, 
incomplete and untimely dispatch, receipt and/or content of this e-mail.

------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
Plplot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to