Overview
| Artifact ID: | daa5e56c591579b99b41c391251cbb177c256957 |
|---|---|
| Ticket: | 867509ffffffffffffffffffffffffffffffffff
Tcl_EvalFile for chinese path in Win2000, occur failed |
| User & Date: | rongbing11968 on 2003-12-30 07:02:15 |
Changes
- assignee changed to: "msofer"
- cmimetype changed to: "text/plain"
- comment changed to:
Tcl_EvalFile for chinese path in Win2000, occur failed: void CTclExecDlg::OnButtonRun() { UpdateData(TRUE); Tcl_FindExecutable(AfxGetApp()- >m_pszExeName); Tcl_Interp* pInterp = Tcl_CreateInterp(); if(pInterp == NULL) { TRACE(_T("Interp create failed. ")); return; } Tcl_Preserve((ClientData)pInterp); char scriptFile[1024]; strcpy(scriptFile, m_sScriptPath); Tcl_DString tStr1; Tcl_ExternalToUtfDString(NULL, scriptFile, -1, &tStr1); int result = Tcl_EvalFile(pInterp, Tcl_DStringValue(&tStr1)); if (TCL_OK != result ) { TRACE(_T("Execute failed. ")); } Tcl_DStringFree(&tStr1); if(Tcl_InterpDeleted(pInterp) == 0) Tcl_DeleteInterp(pInterp); Tcl_Release((ClientData)pInterp); } - foundin changed to: "obsolete: 8.4.5"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "rongbing11968"
- subsystem changed to: "45. Parsing and Eval"
- title changed to:
Tcl_EvalFile for chinese path in Win2000, occur failed
- type changed to: "Bug"