Tcl_FSOpenFileChannel exception in Tcl 8.4 !!!!
From: anand (anandv79_at_rediffmail.com)
Date: 02/25/04
- Next message: Eric Brunel: "Unicode support inconsistency between menu titles and menu items on Windows"
- Previous message: Victor Wagner: "Re: Construct request"
- Next in thread: Michael Schlenker: "Re: Tcl_FSOpenFileChannel exception in Tcl 8.4 !!!!"
- Reply: Michael Schlenker: "Re: Tcl_FSOpenFileChannel exception in Tcl 8.4 !!!!"
- Reply: Jeff Hobbs: "Re: Tcl_FSOpenFileChannel exception in Tcl 8.4 !!!!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 25 Feb 2004 02:28:35 -0800
Hello,
I tried using Tcl_FSOpenFileChannel in the following way:
char * filename = "stript.tcl";
Tcl_Obj * pathPtr = Tcl_NewStringObj(filename, strlen(filename));
-----> channel = Tcl_FSOpenFileChannel(interp, pathPtr, "r", 0666);
//Tcl_FSEvalFile(interp, pathPtr);
The function is resulting in exception with following displayed on
command line: "Called UpdateStringOfFsPath with invalid object"
Ny clues. Also tried using 'Tcl_FSEvalFile' but with same result !
My system is WinNT with Tcl84t.lib/dll
Thanks in Advance,
Anand
- Next message: Eric Brunel: "Unicode support inconsistency between menu titles and menu items on Windows"
- Previous message: Victor Wagner: "Re: Construct request"
- Next in thread: Michael Schlenker: "Re: Tcl_FSOpenFileChannel exception in Tcl 8.4 !!!!"
- Reply: Michael Schlenker: "Re: Tcl_FSOpenFileChannel exception in Tcl 8.4 !!!!"
- Reply: Jeff Hobbs: "Re: Tcl_FSOpenFileChannel exception in Tcl 8.4 !!!!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|