creating dll with Mytcl

3 views
Skip to first unread message

reachm...@gmail.com

unread,
May 20, 2013, 12:58:21 AM5/20/13
to my...@googlegroups.com
Hi,
I have 2 files in my project.
1) allproc.tcl - contains all the procedures used in the project.
2) Main.tcl -main file which calls procedures from allproc.tcl

While debugging ,  main.tcl calls procedures from allproc.tcl and the code work fine ( as expected).

But on building the project, It seems like Mytcl has build only the main.tcl and give the following error.

D:\trycode\proclib\Release>main.exe
couldn't read file "allproc.tcl": no such file or directory
    while executing
"source allproc.tcl"
    (file "D:/trycode/proclib/Release/main.exe/lib/app-main/main.tcl" line 3)
    invoked from within
"source D:/trycode/proclib/Release/main.exe/lib/app-main/main.tcl"
    ("package ifneeded app-main 1.0" script)
    invoked from within
"package require app-main"
    (file "D:/trycode/proclib/Release/main.exe/main.tcl" line 4)

Can I know
a) how to build the project with multiple tcl files to standalone single exe?
b) will it possible to create a dll files for procedures?

-Bass
Reply all
Reply to author
Forward
0 new messages