<i>Tcl_MainEx() (like Tk_MainEx())</i> status still Open with 4 other changes
by
.
D 2010-07-09T16:18:59
J icomment This\sis\srelated\sto:\n<https://sourceforge.net/tracker/?func=detail&atid=310894&aid=1055668&group_id=10894>\n===================================================================\nComment\sBy:\sJoe\sEnglish\s(jenglish)\nDate:\s2004-10-28\s20:58\n\nMessage:\nLogged\sIn:\sYES\nuser_id=68433\n\nCurrently,\sto\sbuild\sa\sversion-independent\sshell\sthat\ndynamically\sloads\sTcl,\syou\scan\suse:\n\s+\shTcl\s=\sLoadLibrary(...path\sto\stcl8X.dll...)\n\s+\stclMainPtr\s=\sGetProcAddress(hTcl,\s"Tcl_Main")\n\s+\s(*tclMainPtr)(argv,argc,\syourAppInitProc);\n\nIn\sthe\sscheme\syou\spropose,\syou\swould\sinstead:\n\s\s+\shTcl\s=\sLoadLibrary(\s....\s)\n\s\s+\stclCreateInterpPtr\s=\sGetProcAddress(hTcl,\n"Tcl_CreateInterp");\n\s\s+\stempInterp\s=\s(*tclCreateInterpPtr)(...);\n\s\s+\sTcl_InitStubs(tempInterp);\n\s\s+\sTcl_DeleteInterp(tempInterp)\n\s\s+\sCall\sTcl_Main()\sthrough\sthe\sstubs\stable.\n\nThis\sis\smore\scomplicated,\sless\sperspicuous,\sand\sisn't\seven\nversion-independant\ssince\sit\swould\sonly\swork\sfor\sversions\sof\nthe\score\swhere\sTcl_Main\sis\sin\sthe\sstubs\stable.\n\nHow\sis\sthe\ssecond\sone\san\simprovement?\s\sI\sjust\sdon't\ssee\sit.\n==========\send\sof\sjenglish\scitation\s===========\nMy\sremark.\sAfter\sthis\spatch,\sthis\swould\sbecome:\n\s\s+\shTcl\s=\sLoadLibrary(\s....\s)\n\s\s+\stclCreateInterpPtr\s=\sGetProcAddress(hTcl,\n"Tcl_CreateInterpEx");\n\s+\stclMainExPtr\s=\sGetProcAddress(hTcl,\n"Tcl_MainEx");\n\s\s+\sinterp\s=\s(*tclCreateInterpPtr)(...);\n\s\s+\stclMainExPtr(....,\sinterp);\nYes,\sit's\sa\slittle\sbit\smore\scompilcated\sthan\sbefore,\nbut\sat\sleast\sit's\sthe\ssame\sfor\sTcl\sand\sTk.\n
J login nijtmans
J mimetype text/plain
J username nijtmans
K 1711975fffffffffffffffffffffffffffffffff
U nijtmans
Z ed0dfa53cf279cc17d3341c0b301a92d