<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to properly stop script execution in 3ds Max Programming Forum</title>
    <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/how-to-properly-stop-script-execution/m-p/12729922#M1139</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1634609"&gt;@denisT.MaxDoctor&lt;/a&gt;&amp;nbsp; написал (-а):&lt;BR /&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Are you familiar with .NET and C#?&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;At a very low level. I'm starting to try&lt;/P&gt;</description>
    <pubDate>Wed, 24 Apr 2024 09:43:24 GMT</pubDate>
    <dc:creator>Ken_GordonQRB22</dc:creator>
    <dc:date>2024-04-24T09:43:24Z</dc:date>
    <item>
      <title>How to properly stop script execution</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/how-to-properly-stop-script-execution/m-p/12727130#M1133</link>
      <description>&lt;P&gt;Hi everyone!&lt;BR /&gt;How to properly stop script execution and unload dll from memory.&lt;BR /&gt;Something like&lt;/P&gt;&lt;LI-CODE lang="general"&gt;if killer == true then
   (
      exit from script
      unload dll from memory
   )&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;dll - WPF interface&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2024 09:13:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/how-to-properly-stop-script-execution/m-p/12727130#M1133</guid>
      <dc:creator>maxyweb</dc:creator>
      <dc:date>2024-04-23T09:13:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to properly stop script execution</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/how-to-properly-stop-script-execution/m-p/12728320#M1134</link>
      <description>&lt;P&gt;Firstly, how was the DLL loaded? ... not every DLL can be unloaded just like that.&lt;BR /&gt;Secondly, what is this DLL that needs to be unloaded?&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2024 17:40:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/how-to-properly-stop-script-execution/m-p/12728320#M1134</guid>
      <dc:creator>denisT.MaxDoctor</dc:creator>
      <dc:date>2024-04-23T17:40:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to properly stop script execution</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/how-to-properly-stop-script-execution/m-p/12728390#M1135</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1634609"&gt;@denisT.MaxDoctor&lt;/a&gt;&amp;nbsp; написал (-а):&lt;BR /&gt;&lt;P&gt;Firstly, how was the DLL loaded?&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;dotNet.loadAssembly interface.dll&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1634609"&gt;@denisT.MaxDoctor&lt;/a&gt;&amp;nbsp; написал (-а):&lt;BR /&gt;&lt;P&gt;Secondly, what is this DLL that needs to be unloaded?&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;WPF interface (Several windows and several functions)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;The script can be run many times during a session &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;and it feels like it runs slower each time, eventually crashing&lt;/SPAN&gt;&lt;/DIV&gt;&lt;HR /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2024 18:20:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/how-to-properly-stop-script-execution/m-p/12728390#M1135</guid>
      <dc:creator>maxyweb</dc:creator>
      <dc:date>2024-04-23T18:20:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to properly stop script execution</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/how-to-properly-stop-script-execution/m-p/12728431#M1136</link>
      <description>&lt;P&gt;instead of loading assembly by path use&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Assembly.Load(File.ReadAllBytes(filePath));&lt;/PRE&gt;&lt;P&gt;then .NET should take care of the garbage collection itself&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm pretty sure it's not the loaded UI that you need to care about, but some of the data and resources that were loaded with the tool.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2024 18:40:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/how-to-properly-stop-script-execution/m-p/12728431#M1136</guid>
      <dc:creator>denisT.MaxDoctor</dc:creator>
      <dc:date>2024-04-23T18:40:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to properly stop script execution</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/how-to-properly-stop-script-execution/m-p/12729610#M1137</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1634609"&gt;@denisT.MaxDoctor&lt;/a&gt;&amp;nbsp; написал (-а):&lt;BR /&gt;&lt;P&gt;instead of loading assembly by path use&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Assembly.Load(File.ReadAllBytes(filePath));&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Not working&lt;/P&gt;&lt;P&gt;Unknown property: "load" in undefined&lt;/P&gt;&lt;P&gt;filePath - tried several different path &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2024 07:26:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/how-to-properly-stop-script-execution/m-p/12729610#M1137</guid>
      <dc:creator>Ken_GordonQRB22</dc:creator>
      <dc:date>2024-04-24T07:26:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to properly stop script execution</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/how-to-properly-stop-script-execution/m-p/12729765#M1138</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/13668619"&gt;@Ken_GordonQRB22&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1634609"&gt;@denisT.MaxDoctor&lt;/a&gt;&amp;nbsp; написал (-а):&lt;BR /&gt;&lt;P&gt;instead of loading assembly by path use&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Assembly.Load(File.ReadAllBytes(filePath));&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Not working&lt;/P&gt;&lt;P&gt;Unknown property: "load" in undefined&lt;/P&gt;&lt;P&gt;filePath - tried several different path &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Are you familiar with .NET and C#?&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2024 08:41:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/how-to-properly-stop-script-execution/m-p/12729765#M1138</guid>
      <dc:creator>denisT.MaxDoctor</dc:creator>
      <dc:date>2024-04-24T08:41:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to properly stop script execution</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/how-to-properly-stop-script-execution/m-p/12729922#M1139</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1634609"&gt;@denisT.MaxDoctor&lt;/a&gt;&amp;nbsp; написал (-а):&lt;BR /&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Are you familiar with .NET and C#?&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;At a very low level. I'm starting to try&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2024 09:43:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/how-to-properly-stop-script-execution/m-p/12729922#M1139</guid>
      <dc:creator>Ken_GordonQRB22</dc:creator>
      <dc:date>2024-04-24T09:43:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to properly stop script execution</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/how-to-properly-stop-script-execution/m-p/12729938#M1140</link>
      <description>&lt;P&gt;Where did you get the DLL you are using? I figured you wrote it.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2024 09:50:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/how-to-properly-stop-script-execution/m-p/12729938#M1140</guid>
      <dc:creator>denisT.MaxDoctor</dc:creator>
      <dc:date>2024-04-24T09:50:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to properly stop script execution</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/how-to-properly-stop-script-execution/m-p/12730274#M1141</link>
      <description>&lt;P&gt;I wrote it&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2024 12:03:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/how-to-properly-stop-script-execution/m-p/12730274#M1141</guid>
      <dc:creator>Ken_GordonQRB22</dc:creator>
      <dc:date>2024-04-24T12:03:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to properly stop script execution</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/how-to-properly-stop-script-execution/m-p/12730696#M1142</link>
      <description>&lt;P&gt;how did you write the dll if you don't know c# and .NET?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Well... if you want, you can post the DLL code. I'll take a look and maybe find memory leak problems and recommend ways to fix them.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2024 14:15:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/how-to-properly-stop-script-execution/m-p/12730696#M1142</guid>
      <dc:creator>denisT.MaxDoctor</dc:creator>
      <dc:date>2024-04-24T14:15:57Z</dc:date>
    </item>
  </channel>
</rss>

