<i>The "int" type registration should be restored.</i> status still Open with 3 other changes
by
.
D 2022-11-18T16:58:09.381
J icomment Using\sTcl_GetIntFromObj\setc.\sdoes\snot\sachieve\sthe\spurpose\sbecause\s(for\sexample)\sthe\svalue\s1\swill\sbe\ssuccessfully\sretrieved\svia\sthe\scall\sby\sshimmering\sthe\sstring\s"1".\sThe\sdesired\sintent\sis\sthat\sa\sTcl_Obj\screated\svia\sTcl_NewStringObj("1",\s-1)\sbe\spassed\sto\sExcel\sas\sa\sstring,\swhile\sTcl_NewIntObj(1)\sbe\spassed\sas\san\sint\s(VT_I4)\sand\sTcl_NewWideInt(1)\sbe\spassed\sas\sVT_I8.\r\n\r\nHaving\ssaid\sthat,\sI\sfully\sunderstand\s(and\salways\sdid)\sthat\sthis\sis\ssimply\ssomething\sTcl\scannot\sdo\sreliably.\sIt\shappened\sto\swork\swell\sin\sTcl\s8.6\sspecifically\sbecause\sof\show\sTcl\swas\simplemented,\snot\sbecause\sof\sany\sguarantees\sin\sthe\slanguage\sor\sC\sAPI.\sIt\swill\snot\swork\swell\swith\s8.7.\sEnd\susers\scan\seither\sstick\swith\s8.6\sor\smove\son\sto\ssome\sother\sscripting\slanguage\sfor\sCOM,\sparticularly\sif\sthe\scomponent\sdoes\snot\sprovide\sa\stype\slibrary.\r\n\r\n/Ashok
J login apnadkarni
J mimetype text/x-markdown
K b5bd08df8d61b4ea9bf0cc885f790b367c430a9f
U apnadkarni
Z 8610b656b1bb4f44e115b8cba3628c10