I want to compile a "C" program in windows/dos environment, which included tcl/tk also in that program. like
#include <tclExtend.h>
#include <tk.h>
etc..
I compiled in linux by giving following options and its succeed.
$(BINDIR)/tcli: tcli.o $(DB_OBJECTS)
cc -o $@ tcli.o...
How can I include my own created command in TCL/TK for windows version.
In Unix we can include in the Tcl script like below line..
#!/home/elixir/bin/tki
Where as tki is my own "C" program which created new tcl commands.
Could you please suggest me, how can I include like this in...
Thanks Ulis for your replay to my question.
I used your below suggetion.
catch {exec [file nativename c:/cssplit.exe]} msg
puts "exec returned: \"$msg\""
But I am getting data from the file and aswell as "child process exited abnormally"
Out put I am getting...
I am facing some problems in tcl/tk windows version I am using tcl/tk 8.4.4.0 version on win 98. When I am using "exec" then I am getting errors. example: set msg [exec c:\cssplit.exe]; where cssplit is "C" program and cssplit.exe executable file, when executing this, its...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.