Max, If you are able to, try to add your Type to the TRNDll.dll project workspace instead of having it in its own workspace. When the TRNDll.dll is in its "release" mode (the way that it is distributed), it loads external DLLs from the ..\Trnsys16\UserLib\ReleaseDLLs directory and when it is in its "debug" mode, it loads them from ..\Trnsys16\UserLib\DebugDLLs. When you run from the debugger, it might be loading a different compiled version of your Type than you think. Kind regards, David Max Werlein wrote:
-- *********************************************************************** Thermal Energy System Specialists (TESS), LLC David BRADLEY 2916 Marketplace Drive - Suite 104 Partner Madison, WI 53719 USA P: +1.608.274.2577 F: +1.608.278.1475 E-mail: bradley@tess-inc.com Web Pages: http://www.tess-inc.com and http://www.trnsys.com *********************************************************************** |