



Hi:
I've installed activeTcl 8.4.17.0 in winXP SP2.
In tclsh 84,input below code:
proc login {ipaddr user passwd} {
package require Expect
spawn -noecho telnet $ipaddr
expect {
"SWITCH login:" {
exp_send "$user\r\n"
exp_continue
}
"Password:" {
exp_send "$passwd\r\n"
exp_continue
}
-ex "SWITCH>" {
dbgLog "Login Successful\n"
return $spawn_id
}
timeout {
send_user "timeout"
return 0
}
}
}
Run above proc with dbghelp.dll 5.1.2600.2180,then a window pops up telling me :
'Wish Application has encountered a problem and needs to close. We are sorry for the inconv
enience."
Error signature :
EventType : BEX P1 : tclsh84.exe P2 : 8.4.2.17 P3 : 477db44f
P4 : dbghelp.dll P5 : 5.1.2600.2180 P6 : 4110956d P7 : 0001295d
P8 : c0000409 P9 : 00000000
And 2 files with error report contents are written to disk :
C:\DOCUME~1\SVT2\LOCALS~1\Temp\WER467a.dir00\tclsh84.exe.mdmp
C:\DOCUME~1\SVT2\LOCALS~1\Temp\WER467a.dir00\appcompat.txt
Dump of contents of last file is at end of email.
Upgrade dbghelp.dll to 6.6.3.5,run the login proc again,tclsh no crash,but no output information. Both dbghelp versions seem to work OK in safemode with network.
What should I do next?
Best wishes,
Diana
appcompat.txt
<?xml version="1.0" encoding="UTF-16"?>
If you are using a 64-bit chip (regardless of 64-bit Windows OS), have you turned off DEP?
Hi:
Thanks!
But My processor for winXP OS is 32-bit,Intel P4
Best wishes,
diana
Copy file 'telnet.exe' for wind-DOS to install path(such as C:\Tcl\bin), with ActiveTcl version 8.4.17.0 for windows
Best wishes,
diana