Skip to content
Tcl Source Code Artifact [234cb34585]
Login

Artifact [234cb34585]

Artifact 234cb34585c4bade3c2f8f0d9d1fa191ad5b42339799a4a549b4b4788829d0f4:

Ticket change [234cb34585] - Ticket [a8e4f76ce498ad64|a8e4f76ce4] <i>load library (dll) from zipfs-library causes a leak in temporary folder</i> status still Open with 4 other changes by jan.nijtmans on 2024-11-27 13:59:40.
D 2024-11-27T13:59:40.339
J assignee jan.nijtmans
J icomment >\sNo\sone\sis\sdisputing\sthat\sloading\sfrom\smemory\swould\sbe\sattractive.\sThe\squestion\sis\swhether\sit\scan\sbe\simplemented\srobustly\sand\scorrectly\son\splatforms\sthat\sdo\snot\snatively\ssupport\sit\sand\sdo\snot\sprovide\sapi's\sthat\sallow\sfor\sits\ssafe\simplementation.\r\n\r\nAmen.\sB.T.W:\sI\sthink\sthe\sanswer\sto\sthis\squestion\sis\ssimply:\sYES\sthis\scan\sbe\sdone.\sI\swent\sthrough\sthe\sMemoryModule\spull\srequests.\sThere\sare\s9\sof\sthem.\s4\sgive\ssolutions\sto\sknown\sbugs,\sI\snow\smerged\sthose.\sThis\smeans\sthat\sSEH\sexception\shandling\sshould\snow\swork\son\sWin64.\sIt\sdoesn't\smean\sall\sdll's\swork:\s[https://github.com/fancycode/MemoryModule/issues/101|Dll's\sprotected\swith\sWinLicense]\sare\sstill\sout-of\sthe\squestion,\sI'm\ssure\sthere\sare\smore.\sTwo\sother\spull-requests\sare\snice-to-haves,\swe\sdon't\sneed\sthem.\sThe\sremaining\s3\slook\sinvalid\sto\sme.\r\n\r\n>\s2)\simpossibility\sto\suse\snested\sDLL's\s(if\ssome\stcl-module\sneeds\sanother\sDLL's\sas\sdependencies\sto\swork,\sand\swant\sto\sprovide\sthem\stogether\swithin\sthe\sexecutable).\r\n>\s...\r\n>\sAnd\sthe\slatter\sis\sto\sneglect,\sbecause\seven\scurrent\simplementation\sdoesn't\sallow\sit\s(I\sdon't\sthink\sthe\sdependencies\swill\sbe\sautomatically\sunpacked\sto\sTMP-folder\snow).\r\n\r\nIndeed,\sthis\sdoesn't\swork\snow.\sBut\susing\sMemoryModule,\sit\scould\sbe\smade\sto\swork:\sthere\sis\sa\scallback\swhen\sa\sdll\sneeds\sto\sload\sanother\sdll\sand\swhen\sit\sneeds\sa\ssymbol\sor\sresources\sfrom\sit.\r\n\r\nTIP\stime
J login jan.nijtmans
J mimetype text/x-fossil-wiki
K a8e4f76ce498ad648134e0b6867c359949055388
U jan.nijtmans
Z cd3e85876b3954d54370a27ce19bf834