Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 6bd5732a625fefb4dbfae37f3ade1d4ddf3f4096
Ticket: 867509ffffffffffffffffffffffffffffffffff
Tcl_EvalFile for chinese path in Win2000, occur failed
User & Date: bladesun on 2004-06-28 09:18:28
Changes

  1. icomment:
    Logged In: YES 
    user_id=1072261
    
    I have encountered the similar problem!
    my OS: win2000 SP4 Chinese
    my Tcl Realese: ActiveTcl8.4.6.1-win32-ix86-99631
    
    following is my very simple program:
    
    void main(int argc, char *argv[]){
        char *str = "D:/MyCode/Going/test.tcl";
        Tcl_Interp* interp=Tcl_CreateInterp();
        Tcl_Init(interp);
    
        if(TCL_OK!=Tcl_EvalFile(interp, str)){
            Tcl_DeleteInterp(interp);
            return;
        }
        Tcl_DeleteInterp(interp);
        exit(0);
    }
    
    successed compling under VC6.0! 
    when executing, segment erroe occur, the OS message just 
    like this(translated from chinese): 
    Instruction "0x00000000" references "0x00000000" address 
    which cann't  be read
    when debugging in VC, the message is:
    Unhandled exception in myprom.exe:0xC0000005: Access 
    Violation.
    
    
    
  2. login: "bladesun"
  3. mimetype: "text/plain"
  4. username: "bladesun"