<?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: Debug configuration of TOOLKIT projects in Customization</title>
    <link>https://www.ptcusercommunity.com/t5/Customization/Debug-configuration-of-TOOLKIT-projects/m-p/987250#M13666</link>
    <description>&lt;P&gt;We have found similar to you, and for our projects we need to use Multi-threaded DLL (/MD) for the Debug configuration to avoid LNK2038 build issues.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;An issue that is awkward that we have to manage to keep on top of the build issues, but we have never found an ideal resolution or an explanation, so I am interested in hearing other peoples views on this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 05 Dec 2024 08:15:55 GMT</pubDate>
    <dc:creator>Ben_C</dc:creator>
    <dc:date>2024-12-05T08:15:55Z</dc:date>
    <item>
      <title>Debug configuration of TOOLKIT projects</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/Debug-configuration-of-TOOLKIT-projects/m-p/987151#M13660</link>
      <description>&lt;P&gt;In PTC article &lt;A href="https://www.ptc.com/en/support/article/CS363748" target="_blank" rel="noopener"&gt;CS363748&lt;/A&gt; are for the various Creo main versions TOOLKIT sample projects attached.&lt;BR /&gt;However, only the Debug configuration is preconfigured for these.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As our company is currently working with Creo 10.0, I have taken a closer look at the example project for this version.&lt;BR /&gt;However, my statements also apply to the projects of the other versions.&lt;BR /&gt;The Debug configuration can be compiled and linked, but in my opinion it is not correctly preset:&lt;BR /&gt;The project setting &lt;EM&gt;"Configuration Properties &amp;gt; C/C++ &amp;gt; Runtime Libary"&lt;/EM&gt; should be changed from &lt;EM&gt;"Multi-threaded DLL (/MD)"&lt;/EM&gt; to &lt;EM&gt;"Multi-threaded Debug DLL (/MDd)"&lt;/EM&gt;, shouldn't it?&lt;BR /&gt;Even if this change is made, the project can still be successfully compiled and linked.&lt;BR /&gt;However, if you then add the line "&lt;FONT face="courier new,courier"&gt;#include &amp;lt;string&amp;gt;&lt;/FONT&gt;" to the other header files at the beginning of the program code, the DLL can no longer be created and the following error messages appear in the output console:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;Rebuild started...&lt;BR /&gt;1&amp;gt;------ Rebuild All started: Project: Creo_x64_tktemplate, Configuration: Debug x64 ------&lt;BR /&gt;1&amp;gt;PTTestBug.cpp&lt;BR /&gt;1&amp;gt;protk_dllmd_NU.lib(srcutf.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in PTTestBug.obj&lt;BR /&gt;1&amp;gt;protk_dllmd_NU.lib(srcutf.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MDd_DynamicDebug' in PTTestBug.obj&lt;BR /&gt;1&amp;gt;protk_dllmd_NU.lib(srccore.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in PTTestBug.obj&lt;BR /&gt;1&amp;gt;protk_dllmd_NU.lib(srccore.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MDd_DynamicDebug' in PTTestBug.obj&lt;BR /&gt;1&amp;gt;protk_dllmd_NU.lib(srcwrappers.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in PTTestBug.obj&lt;BR /&gt;1&amp;gt;protk_dllmd_NU.lib(srcwrappers.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MDd_DynamicDebug' in PTTestBug.obj&lt;BR /&gt;1&amp;gt;protk_dllmd_NU.lib(srcmemmgr_common.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in PTTestBug.obj&lt;BR /&gt;1&amp;gt;protk_dllmd_NU.lib(srcmemmgr_common.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MDd_DynamicDebug' in PTTestBug.obj&lt;BR /&gt;1&amp;gt;protk_dllmd_NU.lib(srcmemmgr.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in PTTestBug.obj&lt;BR /&gt;1&amp;gt;protk_dllmd_NU.lib(srcmemmgr.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MDd_DynamicDebug' in PTTestBug.obj&lt;BR /&gt;1&amp;gt;protk_dllmd_NU.lib(srci18n.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in PTTestBug.obj&lt;BR /&gt;1&amp;gt;protk_dllmd_NU.lib(srci18n.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MDd_DynamicDebug' in PTTestBug.obj&lt;BR /&gt;1&amp;gt;protk_dllmd_NU.lib(threadlibsrc.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in PTTestBug.obj&lt;BR /&gt;1&amp;gt;protk_dllmd_NU.lib(threadlibsrc.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MDd_DynamicDebug' in PTTestBug.obj&lt;BR /&gt;1&amp;gt;protk_dllmd_NU.lib(srcutfstr.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in PTTestBug.obj&lt;BR /&gt;1&amp;gt;protk_dllmd_NU.lib(srcutfstr.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MDd_DynamicDebug' in PTTestBug.obj&lt;BR /&gt;1&amp;gt;protk_dllmd_NU.lib(srcmemmgr_mt.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in PTTestBug.obj&lt;BR /&gt;1&amp;gt;protk_dllmd_NU.lib(srcmemmgr_mt.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MDd_DynamicDebug' in PTTestBug.obj&lt;BR /&gt;1&amp;gt;protk_dllmd_NU.lib(ctstack_utils.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in PTTestBug.obj&lt;BR /&gt;1&amp;gt;protk_dllmd_NU.lib(ctstack_utils.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MDd_DynamicDebug' in PTTestBug.obj&lt;BR /&gt;1&amp;gt;protk_dllmd_NU.lib(srcunicode.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in PTTestBug.obj&lt;BR /&gt;1&amp;gt;protk_dllmd_NU.lib(srcunicode.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MDd_DynamicDebug' in PTTestBug.obj&lt;BR /&gt;1&amp;gt;protk_dllmd_NU.lib(srcnet.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in PTTestBug.obj&lt;BR /&gt;1&amp;gt;protk_dllmd_NU.lib(srcnet.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MDd_DynamicDebug' in PTTestBug.obj&lt;BR /&gt;1&amp;gt;protk_dllmd_NU.lib(srcsconv.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in PTTestBug.obj&lt;BR /&gt;1&amp;gt;protk_dllmd_NU.lib(srcsconv.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MDd_DynamicDebug' in PTTestBug.obj&lt;BR /&gt;1&amp;gt;protk_dllmd_NU.lib(srcmtbase.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in PTTestBug.obj&lt;BR /&gt;1&amp;gt;protk_dllmd_NU.lib(srcmtbase.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MDd_DynamicDebug' in PTTestBug.obj&lt;BR /&gt;1&amp;gt;protk_dllmd_NU.lib(ctwithclang.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in PTTestBug.obj&lt;BR /&gt;1&amp;gt;protk_dllmd_NU.lib(ctwithclang.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MDd_DynamicDebug' in PTTestBug.obj&lt;BR /&gt;1&amp;gt;protk_dllmd_NU.lib(srcbase.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in PTTestBug.obj&lt;BR /&gt;1&amp;gt;protk_dllmd_NU.lib(srcbase.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MDd_DynamicDebug' in PTTestBug.obj&lt;BR /&gt;1&amp;gt;protk_dllmd_NU.lib(srcmemmgr_slim.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in PTTestBug.obj&lt;BR /&gt;1&amp;gt;protk_dllmd_NU.lib(srcmemmgr_slim.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MDd_DynamicDebug' in PTTestBug.obj&lt;BR /&gt;1&amp;gt;protk_dllmd_NU.lib(srcps.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in PTTestBug.obj&lt;BR /&gt;1&amp;gt;protk_dllmd_NU.lib(srcps.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MDd_DynamicDebug' in PTTestBug.obj&lt;BR /&gt;1&amp;gt;protk_dllmd_NU.lib(baselibsrc.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in PTTestBug.obj&lt;BR /&gt;1&amp;gt;protk_dllmd_NU.lib(baselibsrc.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MDd_DynamicDebug' in PTTestBug.obj&lt;BR /&gt;1&amp;gt;protk_dllmd_NU.lib(srccoll.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in PTTestBug.obj&lt;BR /&gt;1&amp;gt;protk_dllmd_NU.lib(srccoll.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MDd_DynamicDebug' in PTTestBug.obj&lt;BR /&gt;1&amp;gt;protk_dllmd_NU.lib(bufsrc.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in PTTestBug.obj&lt;BR /&gt;1&amp;gt;protk_dllmd_NU.lib(bufsrc.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MDd_DynamicDebug' in PTTestBug.obj&lt;BR /&gt;1&amp;gt;protk_dllmd_NU.lib(stringsrc.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in PTTestBug.obj&lt;BR /&gt;1&amp;gt;protk_dllmd_NU.lib(stringsrc.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MDd_DynamicDebug' in PTTestBug.obj&lt;BR /&gt;1&amp;gt;protk_dllmd_NU.lib(osapisrc.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in PTTestBug.obj&lt;BR /&gt;1&amp;gt;protk_dllmd_NU.lib(osapisrc.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MDd_DynamicDebug' in PTTestBug.obj&lt;BR /&gt;1&amp;gt;protk_dllmd_NU.lib(streamsrc.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in PTTestBug.obj&lt;BR /&gt;1&amp;gt;protk_dllmd_NU.lib(streamsrc.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MDd_DynamicDebug' in PTTestBug.obj&lt;BR /&gt;1&amp;gt;protk_dllmd_NU.lib(srcstream.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in PTTestBug.obj&lt;BR /&gt;1&amp;gt;protk_dllmd_NU.lib(srcstream.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MDd_DynamicDebug' in PTTestBug.obj&lt;BR /&gt;1&amp;gt;protk_dllmd_NU.lib(srcproc.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in PTTestBug.obj&lt;BR /&gt;1&amp;gt;protk_dllmd_NU.lib(srcproc.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MDd_DynamicDebug' in PTTestBug.obj&lt;BR /&gt;1&amp;gt;protk_dllmd_NU.lib(srcstdstream.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in PTTestBug.obj&lt;BR /&gt;1&amp;gt;protk_dllmd_NU.lib(srcstdstream.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MDd_DynamicDebug' in PTTestBug.obj&lt;BR /&gt;1&amp;gt;protk_dllmd_NU.lib(ostoolssrc.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in PTTestBug.obj&lt;BR /&gt;1&amp;gt;protk_dllmd_NU.lib(ostoolssrc.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MDd_DynamicDebug' in PTTestBug.obj&lt;BR /&gt;1&amp;gt;protk_dllmd_NU.lib(membufsrc.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in PTTestBug.obj&lt;BR /&gt;1&amp;gt;protk_dllmd_NU.lib(membufsrc.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MDd_DynamicDebug' in PTTestBug.obj&lt;BR /&gt;1&amp;gt;protk_dllmd_NU.lib(srcstring.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in PTTestBug.obj&lt;BR /&gt;1&amp;gt;protk_dllmd_NU.lib(srcstring.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MDd_DynamicDebug' in PTTestBug.obj&lt;BR /&gt;1&amp;gt;protk_dllmd_NU.lib(srctime.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in PTTestBug.obj&lt;BR /&gt;1&amp;gt;protk_dllmd_NU.lib(srctime.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MDd_DynamicDebug' in PTTestBug.obj&lt;BR /&gt;1&amp;gt;protk_dllmd_NU.lib(srcenv.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in PTTestBug.obj&lt;BR /&gt;1&amp;gt;protk_dllmd_NU.lib(srcenv.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MDd_DynamicDebug' in PTTestBug.obj&lt;BR /&gt;1&amp;gt;protk_dllmd_NU.lib(nmscomm.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in PTTestBug.obj&lt;BR /&gt;1&amp;gt;protk_dllmd_NU.lib(nmscomm.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MDd_DynamicDebug' in PTTestBug.obj&lt;BR /&gt;1&amp;gt;protk_dllmd_NU.lib(nmsclnt.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in PTTestBug.obj&lt;BR /&gt;1&amp;gt;protk_dllmd_NU.lib(nmsclnt.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MDd_DynamicDebug' in PTTestBug.obj&lt;BR /&gt;1&amp;gt;protk_dllmd_NU.lib(stackwalksrc.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in PTTestBug.obj&lt;BR /&gt;1&amp;gt;protk_dllmd_NU.lib(stackwalksrc.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MDd_DynamicDebug' in PTTestBug.obj&lt;BR /&gt;1&amp;gt; Creating library …\Creo10_x64_tkSynctemplate_DLL\x64\Debug\\pt_bug.lib and object …\Creo10_x64_tkSynctemplate_DLL\x64\Debug\\pt_bug.exp&lt;BR /&gt;1&amp;gt;msvcprtd.lib(locale0_implib.obj) : error LNK2019: unresolved external symbol __imp__free_dbg referenced in function "public: static void __cdecl std::_Fac_node::operator delete(void *)" (??3_Fac_node@std@@SAXPEAX@Z)&lt;BR /&gt;1&amp;gt;msvcprtd.lib(locale0_implib.obj) : error LNK2019: unresolved external symbol __imp__malloc_dbg referenced in function "public: static void * __cdecl std::_Fac_node::operator new(unsigned __int64)" (??2_Fac_node@std@@SAPEAX_K@Z)&lt;BR /&gt;1&amp;gt;…\Creo10_x64_tkSynctemplate_DLL\x64\Debug\\pt_bug.dll : fatal error LNK1120: 2 unresolved externals&lt;BR /&gt;1&amp;gt;Done building project "Creo_x64_tktemplate.vcxproj" -- FAILED.&lt;BR /&gt;========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I reset the project setting for the &lt;EM&gt;"Runtime Libary"&lt;/EM&gt; to the value &lt;EM&gt;"Multi-threaded DLL (/MD)"&lt;/EM&gt;, strangely enough, it works again with the creation of the DLL.&lt;/P&gt;
&lt;P&gt;Do you know what else I am doing wrong if I use the setting &lt;EM&gt;"Multi-threaded Debug DLL (/MDd)"&lt;/EM&gt;?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Domenic&lt;/P&gt;</description>
      <pubDate>Wed, 04 Dec 2024 19:16:35 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/Debug-configuration-of-TOOLKIT-projects/m-p/987151#M13660</guid>
      <dc:creator>DomenicLaritz</dc:creator>
      <dc:date>2024-12-04T19:16:35Z</dc:date>
    </item>
    <item>
      <title>Re: Debug configuration of TOOLKIT projects</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/Debug-configuration-of-TOOLKIT-projects/m-p/987234#M13663</link>
      <description>&lt;P&gt;Why would you want to change the configuration if you don't have problems compiling and debugging?&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2024 06:24:40 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/Debug-configuration-of-TOOLKIT-projects/m-p/987234#M13663</guid>
      <dc:creator>YaroslavSin</dc:creator>
      <dc:date>2024-12-05T06:24:40Z</dc:date>
    </item>
    <item>
      <title>Re: Debug configuration of TOOLKIT projects</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/Debug-configuration-of-TOOLKIT-projects/m-p/987241#M13665</link>
      <description>&lt;P&gt;My aim is to create a Release configuration in addition to the Debug configuration.&lt;BR /&gt;In the Release configuration, I would then select the value &lt;EM&gt;"Multi-threaded DLL (/MD)"&lt;/EM&gt; as the &lt;EM&gt;"Runtime Libary"&lt;/EM&gt;.&lt;BR /&gt;And in the setting &lt;EM&gt;"Configuration Properties &amp;gt; Linker &amp;gt; Input"&lt;/EM&gt;, the release library &lt;EM&gt;protk_dll_NU.lib&lt;/EM&gt; should be used instead of the debug library &lt;EM&gt;protk_dllmd_NU.lib&lt;/EM&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This gives me a Debug configuration that can be used during development and a Release configuration for the publication of an official version.&lt;BR /&gt;Release DLLs are normally somewhat smaller and also a little more performant.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2024 07:53:00 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/Debug-configuration-of-TOOLKIT-projects/m-p/987241#M13665</guid>
      <dc:creator>DomenicLaritz</dc:creator>
      <dc:date>2024-12-05T07:53:00Z</dc:date>
    </item>
    <item>
      <title>Re: Debug configuration of TOOLKIT projects</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/Debug-configuration-of-TOOLKIT-projects/m-p/987250#M13666</link>
      <description>&lt;P&gt;We have found similar to you, and for our projects we need to use Multi-threaded DLL (/MD) for the Debug configuration to avoid LNK2038 build issues.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;An issue that is awkward that we have to manage to keep on top of the build issues, but we have never found an ideal resolution or an explanation, so I am interested in hearing other peoples views on this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2024 08:15:55 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/Debug-configuration-of-TOOLKIT-projects/m-p/987250#M13666</guid>
      <dc:creator>Ben_C</dc:creator>
      <dc:date>2024-12-05T08:15:55Z</dc:date>
    </item>
    <item>
      <title>Re: Debug configuration of TOOLKIT projects</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/Debug-configuration-of-TOOLKIT-projects/m-p/987276#M13668</link>
      <description>&lt;P&gt;In case toolkit project, I think, no need to change flag to /MD.&lt;/P&gt;
&lt;P&gt;For Release DLLs need to use "Standard libraries" /MT and remove flags for debugging (see below).&lt;/P&gt;
&lt;P&gt;From Creo 9 toolkit documentation:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="img-2024-12-05-15-56-29.png" style="width: 999px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/115232i7D064D8887990F24/image-size/large?v=v2&amp;amp;px=999" role="button" title="img-2024-12-05-15-56-29.png" alt="img-2024-12-05-15-56-29.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="img-2024-12-05-15-57-37.png" style="width: 999px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/115231i98AD136D0BF1B4B0/image-size/large?v=v2&amp;amp;px=999" role="button" title="img-2024-12-05-15-57-37.png" alt="img-2024-12-05-15-57-37.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="img-2024-12-05-15-57-57.png" style="width: 999px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/115233i3AF0957E45D7607E/image-size/large?v=v2&amp;amp;px=999" role="button" title="img-2024-12-05-15-57-57.png" alt="img-2024-12-05-15-57-57.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2024 11:04:41 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/Debug-configuration-of-TOOLKIT-projects/m-p/987276#M13668</guid>
      <dc:creator>YaroslavSin</dc:creator>
      <dc:date>2024-12-05T11:04:41Z</dc:date>
    </item>
    <item>
      <title>Re: Debug configuration of TOOLKIT projects</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/Debug-configuration-of-TOOLKIT-projects/m-p/987277#M13669</link>
      <description>&lt;P&gt;Today I read through the PTC article &lt;A href="https://www.ptc.com/en/support/article/CS237146" target="_blank" rel="noopener"&gt;CS237146&lt;/A&gt;, where the six toolkit lib files are explained.&lt;BR /&gt;I noticed that I was misled by the "md" in the name of the &lt;EM&gt;protk_dllmd_NU.lib&lt;/EM&gt; library: This "md" obviously doesn't mean that it is the debug version of the &lt;EM&gt;protk_dll_NU.lib library&lt;/EM&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So I think this issue is over for now.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your support!&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2024 11:22:12 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/Debug-configuration-of-TOOLKIT-projects/m-p/987277#M13669</guid>
      <dc:creator>DomenicLaritz</dc:creator>
      <dc:date>2024-12-05T11:22:12Z</dc:date>
    </item>
    <item>
      <title>Re: Debug configuration of TOOLKIT projects</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/Debug-configuration-of-TOOLKIT-projects/m-p/1008276#M13961</link>
      <description>&lt;P&gt;Hi &lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/54417"&gt;@DomenicLaritz&lt;/a&gt; I think I have also been misled into thinking &lt;EM&gt;protk_dllmd_NU.lib&lt;/EM&gt; is the debug version.&lt;/P&gt;&lt;P&gt;What did you need to do to resolve this issue for you? Which .lib do you need to include in the Debug configuration? And are you able to use /MDd for this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ben&lt;/P&gt;</description>
      <pubDate>Wed, 02 Apr 2025 12:51:07 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/Debug-configuration-of-TOOLKIT-projects/m-p/1008276#M13961</guid>
      <dc:creator>Ben_C</dc:creator>
      <dc:date>2025-04-02T12:51:07Z</dc:date>
    </item>
    <item>
      <title>Re: Debug configuration of TOOLKIT projects</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/Debug-configuration-of-TOOLKIT-projects/m-p/1008283#M13962</link>
      <description>&lt;P&gt;Hi Ben,&lt;/P&gt;
&lt;P&gt;I use the runtime library setting "Multi-threaded DLL (/MD)" and the library protk_dllmd_NU.lib for both debug and release configuration.&lt;BR /&gt;I tried a lot, but I wasn't able to create a Toolkit DLL with the runtime library setting "Multi-threaded Debug DLL (/MDd)".&lt;/P&gt;</description>
      <pubDate>Wed, 02 Apr 2025 13:09:33 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/Debug-configuration-of-TOOLKIT-projects/m-p/1008283#M13962</guid>
      <dc:creator>DomenicLaritz</dc:creator>
      <dc:date>2025-04-02T13:09:33Z</dc:date>
    </item>
    <item>
      <title>Re: Debug configuration of TOOLKIT projects</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/Debug-configuration-of-TOOLKIT-projects/m-p/1011877#M14023</link>
      <description>&lt;P&gt;According to PTC article&amp;nbsp;&lt;A href="https://www.ptc.com/en/support/article/CS182582" target="_blank" rel="noopener"&gt;CS182582&lt;/A&gt;&amp;nbsp;compiling with /MDd should work, if you use the preprocessor macro&amp;nbsp;&lt;SPAN&gt;&lt;FONT face="courier new,courier"&gt;_ALLOW_ITERATOR_DEBUG_LEVEL_MISMATCH&lt;/FONT&gt;.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I haven't tried this out by myself.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Apr 2025 07:11:30 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/Debug-configuration-of-TOOLKIT-projects/m-p/1011877#M14023</guid>
      <dc:creator>DomenicLaritz</dc:creator>
      <dc:date>2025-04-22T07:11:30Z</dc:date>
    </item>
    <item>
      <title>Re: Debug configuration of TOOLKIT projects</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/Debug-configuration-of-TOOLKIT-projects/m-p/1012455#M14040</link>
      <description>&lt;P&gt;Thanks for the suggestion, I tried this out, but it did not work. Further investigations found that &lt;SPAN&gt;&lt;FONT face="courier new,courier"&gt;_ALLOW_ITERATOR_DEBUG_LEVEL_MISMATCH&lt;/FONT&gt; can resolve&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2'&lt;/LI-CODE&gt;&lt;P&gt;&lt;SPAN&gt;but not&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MDd_DynamicDebug'&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Apr 2025 13:12:40 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/Debug-configuration-of-TOOLKIT-projects/m-p/1012455#M14040</guid>
      <dc:creator>Ben_C</dc:creator>
      <dc:date>2025-04-24T13:12:40Z</dc:date>
    </item>
    <item>
      <title>Re: Debug configuration of TOOLKIT projects</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/Debug-configuration-of-TOOLKIT-projects/m-p/1012456#M14041</link>
      <description>&lt;P&gt;Ah, ok - too bad.&lt;BR /&gt;Thanks for trying it out.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Apr 2025 13:16:58 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/Debug-configuration-of-TOOLKIT-projects/m-p/1012456#M14041</guid>
      <dc:creator>DomenicLaritz</dc:creator>
      <dc:date>2025-04-24T13:16:58Z</dc:date>
    </item>
  </channel>
</rss>

