Tcl_FSOpenFileChannel exception in Tcl 8.4 !!!!

From: anand (anandv79_at_rediffmail.com)
Date: 02/25/04


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



Relevant Pages

  • Re: make Makefile
    ... had actually entered the command as shown, ... It sure looks like something else altogether to me too! ... If the above commands don't provide any clues as to what it ... >a Mandrake /contrib RPM for what I was after. ...
    (comp.os.linux.misc)
  • Re: Disk Usage
    ... Ymir wrote: ... will show *which* processes are triggering disk usage? ... There is a command line tool fs_usage which might give some clues, ...
    (comp.sys.mac.system)
  • Re: [SLE] 9.3 cron.daily run time
    ... >> I've stared and stared at it but can't see where it is bumping ... >> any clues? ... > It's already fixed for then next suse release;) ... For those not cognizant of the myriad of options to the "find" command ...
    (SuSE)
  • Re: *99# on Motorola Razor V3
    ... > Although not aimed at Windows, you may find some clues at ... > I suspect you need to use a AT+CGDCONT command in your modem ...
    (uk.telecom.mobile)
  • system freeze question
    ... Got an ultra10/sol28 box that when ftp into or even a cp command run ... freezes the system. ... like disk io related or something. ... any clues?. ...
    (SunManagers)