Skip to content
Tcl Source Code View Ticket
Login

View Ticket

clock format [clock seconds] fail

Closed / Invalid3440441fffffffffffffffffffffffffffffffffCreated 15 years agoUpdated 14 years ago
Descriptionplain2011-11-20 12:44:30
Dear all,

I integrate TCL85.dll into my C++ program,

but when I input "clock format [clock seconds]" to Interp

It return " Wrong # args: should be "source <fileName>" "

but "clock seconds" works fine

and Tcl_Init(interp) return TCL_OK

Can anybody know where the problem is ?

Thanks.
realmojo Ticket [3440441fff]: 1 change [History diff]2011-11-20 19:47:57
dgpplain2011-11-20 22:53:17
Please report how your C++ program gets each Tcl_Interp
initialized fully with a call to Tcl_Init(), and that you check the
return code for success.

For further progress, also report the full information
in the -errorinfo return option, and not just the error message.
In this case, where the error is happening is more important
than the error itself.

Finally, check for version mismatch issues.  The syntax
error you report is one that ought to come from 8.4 and
earlier releases of Tcl.  You claim to be attempting to use 8.5;
perhaps that is failing?
dgp Pending ticket [3440441fff]. [History diff]2011-12-01 23:06:53
dgpplain2012-06-05 21:01:22
allow_comments - 1
Log in (anonymous is fine) to add a comment.