Skip to content
Tcl Source Code Artifact [8cf218dead]
Login

Artifact [8cf218dead]

Artifact 8cf218dead273e32da188e999491cb2115647f59:

Ticket change [8cf218dead] - Ticket [800716ffffffffff|800716ffff] <i>publicize TclWinConvertError and TclWinConvertWSAError</i> status still Open with 4 other changes by davygrvy on 2003-09-10 07:05:07.
D 2003-09-10T07:05:07
J icomment Logged\sIn:\sYES\s\nuser_id=7549\n\nHere's\sanother\spatch\sthat\sadds\sTcl_Win32Error(),\s\nTcl_Win32ErrId(),\sTcl_Win32ErrMsg(),\sand\sTcl_Win32ErrMsgVA\n().\n\nThe\sconcept\sof\ssetting\serrno\sand\sreturning\sfrom\sa\sfunction\sis\s\nusually\sthen\sdisplayed\sto\sthe\suser\swith\sTcl_PosixError()\sin\sa\s\ngeneric\slayer\sfor\ssetting\s$errorCode.\s\sTcl_Win32Error()\sis\s\nexactly\sanalogous\sto\sthat,\sexcept\sthat\sit\sgets\sthe\serror\scode\s\nfrom\sGetLastError()\sfor\sthe\sexact\swindows\serror.\n\nI\swould\suse\sthis\sfrom\san\sextension!\s\sSee\sthe\sshift?\s\sInstead\sof\s\nreturning\sfrom\sa\sfunction\swith\serrno\sset,\sgive\sthe\sfunction\sthe\s\ninterp\sand\slet\sit\sset\s$errorCode\sitself.\s\sThis\sconcept\sis\sworking\s\nwell\sin\sa\sproject\sI'm\sdoing.\s\sNOTHING\sis\sgetting\slost\sin\sa\s\ntranslation\sas\sthere\saren't\sany\sto\sbe\smade!\n\nTcl_Win32ErrId()\sis\s100%\scomplete\sand\smatch\sthe\soctober\s\n2002\srelease\sof\sthe\splatform\sSDK.\s\sError\smessages\sare\sasked\s\nfor\sfrom\sthe\ssystem\swith\sFormatMessage\sand\scould\ssupport\s\nlocalization...\n\nwin/tclWinError.c\sbuilds\swith\sstock\sVC5,\sVC6,\sand\swith\sthe\s\nplatform\sSDK\sheaders,\stoo.\n\nmy\swrists\sare\ssore..\swhere's\san\sice\spack\sin\sthis\shouse?\n
J login davygrvy
J mimetype text/plain
J username davygrvy
K 800716ffffffffffffffffffffffffffffffffff
U davygrvy
Z 2360dc5d5ff8888452330087e1eb0197