Arjen Markus <
arjen.m...@gmail.com> wrote:
> Op woensdag 29 april 2015 10:40:08 UTC+2 schreef Kevin Shiki Tang:
> > On Wednesday, 29 April 2015 15:19:53 UTC+8, Arjen Markus wrote:
> > > Op woensdag 29 april 2015 07:40:55 UTC+2 schreef Kevin Shiki Tang:
> > > > Thanks for the reply
> > > >
> > > > My error code is as such.
> > > >
> > > > file open failed
> > > > while executing
> > > > "mk::file open mk4vfs3 {c:/Users/user/Desktop/New
> > > > Project/Better.exe}"
> > > > ("eval" body line 1)
> > > > invoked from within
> > > > "eval [list mk::file open $db $file] $args"
> > > > (procedure "::mk4vfs::_mount" line9)
> > > > invoked from within
> > > > ...
> > >
> > > Well, that looks menacing indeed :), but the crux is in the first
> > > line: does the file "Better.exe" exist on your machine (in the
> > > directory c:/Users/user/Desktop/New Project/) and if so, is it
> > > readable?
> >
> > Yes it is in the folder
> >
> > What I dont understand is that I use freewrap exe to change my .tcl
> > files into exe it works like a charm.
> >
> > I am near certain I must have messed up my cmd I will try again later
> >
> > thanks for your help Arjen!
> Hm, could it be that you use the program better.exe both as the
> command to run and as the runtime? That is, something like:
> better.exe sdx.kit wrap myprogram -runtime better.exe
> That will not work because of some odd limitation in Windows. That is
> why we always copy the runtime to a new name, unimaginatively
> something like better2.exe
Note, it is helpful to have:
1) the command you were attempting to run
and
2) the resulting error message
Because sometimes the error message (as in this case) is likely caused
by you providing the command the incorrect options. I agree with
Arjen, this looks like the error message you get when you skip this
step from the Wiki:
Step 2
Make a copy of the tclkit.exe into the directory where your TCL source
code file is. Ex: in c:\Birds. Rename it to tclkit2.exe.
---> You will now have in c:\Birds the following files:
* Birds.tcl
* tclkit.exe
* tclkit2.exe
* sdx.kit
Also, is "Better.exe" a tclkit, just named a different name than
"tclkit"?