<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>17 Aug 2018 12:50:00 Z</lastBuildDate><pubDate>17 Aug 2018 10:45:00 Z</pubDate><description>Hi,&#13;
&#13;
I need a little help with a .NET assembly.&#13;
&#13;
The .NET assembly works well for the first time. On the second call, I cannot get a connection to the terminal. What do I wrong?&#13;
&#13;
My code: (code very short, only to demostrate the problem)&#13;
tim_terminal is SIX.TimApi.Terminal dynamic&#13;
tim_terminal = new "SIX.TimApi.Terminal"&#13;
tim_terminal.Connect()&#13;
&#13;
On exit:&#13;
tim_terminal.Disconnect()&#13;
delete tim_terminal&#13;
&#13;
With Sysinternals "ListDlls" the TimApi.dll shows in memory, even after I "delete" the instance?!&#13;
&#13;
I tried:&#13;
&#13;
nID=LoadDLL("TimApi.DLL")&#13;
and on exit:&#13;
FreeDLL(nID)&#13;
&#13;
but without success, TimApi.dll is still in memory.&#13;
&#13;
BTW: the complete code is in a window, so it "should" destroy after closing the window??&#13;
&#13;
GetActiveObject does not work for .NET assemblys (LoadDll/FreeDll too I think?!)&#13;
&#13;
How can I complete unload/delete the loaded .NET object??&#13;
&#13;
(sorry for cross posting on Google+, but it's urgent)</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/66657-wd23-how-can-unload-net-object-assembly/read.awp</link><title>[WD23] How can I unload a .NET object/assembly</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/66657-wd23-how-can-unload-net-object-assembly-66662/read.awp</comments><pubDate>17 Aug 2018 12:50:00 Z</pubDate><description>Hi Arie, thank you, exactly that worked!</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/66657-wd23-how-can-unload-net-object-assembly-66662/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/66657-wd23-how-can-unload-net-object-assembly-66662/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/66657-wd23-how-can-unload-net-object-assembly/read.awp">[WD23] How can I unload a .NET object/assembly</source><title>Re: [WD23] How can I unload a .NET object/assembly</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/66657-wd23-how-can-unload-net-object-assembly-66661/read.awp</comments><pubDate>17 Aug 2018 12:04:00 Z</pubDate><description>Alexander,&#13;
&#13;
try putting yrou declaration global and not in the window&#13;
tim_terminal is SIX.TimApi.Terminal dynamic&#13;
tim_termin…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/66657-wd23-how-can-unload-net-object-assembly-66661/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/66657-wd23-how-can-unload-net-object-assembly-66661/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/66657-wd23-how-can-unload-net-object-assembly/read.awp">[WD23] How can I unload a .NET object/assembly</source><title>Re: [WD23] How can I unload a .NET object/assembly</title></item></channel></rss>
