<?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: Creo toolkit full asynchronous mode build error in Customization</title>
    <link>https://www.ptcusercommunity.com/t5/Customization/Creo-toolkit-full-asynchronous-mode-build-error/m-p/1057584#M14794</link>
    <description>&lt;P&gt;No you don’t need that. Just the env var &lt;SPAN&gt;PRO_COMM_MSG_EXE with full path incl. extension.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Don‘t forget, you may need an event loop, but check the examples.&lt;/P&gt;</description>
    <pubDate>Fri, 06 Mar 2026 18:32:17 GMT</pubDate>
    <dc:creator>RPN</dc:creator>
    <dc:date>2026-03-06T18:32:17Z</dc:date>
    <item>
      <title>Creo toolkit full asynchronous mode build error</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/Creo-toolkit-full-asynchronous-mode-build-error/m-p/1055502#M14764</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2026-02-20_06h53_55.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/134858iE7B4C27FD330C456/image-size/medium?v=v2&amp;amp;px=400" role="button" title="2026-02-20_06h53_55.png" alt="2026-02-20_06h53_55.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; Hello there,&lt;/P&gt;&lt;P&gt;As you can see , i am trying build a simple full asynchronous mode of toolkit application to connect to a running creo session, later i will try to fetch the component details. But as off now i am stuck with this errors&amp;nbsp; , can anyone help me.&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) I am not sure if i have included correct libraries in project settings.&lt;/P&gt;&lt;P&gt;2) stuck in these errors&amp;nbsp;&lt;/P&gt;&lt;P&gt;is there any manual to dive deep to study on full asynchronous mode&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Feb 2026 01:31:59 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/Creo-toolkit-full-asynchronous-mode-build-error/m-p/1055502#M14764</guid>
      <dc:creator>TP_9862373</dc:creator>
      <dc:date>2026-02-20T01:31:59Z</dc:date>
    </item>
    <item>
      <title>Re: Creo toolkit full asynchronous mode build error</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/Creo-toolkit-full-asynchronous-mode-build-error/m-p/1056647#M14782</link>
      <description>&lt;P&gt;Hi &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/610735"&gt;@TP_9862373&lt;/a&gt;&lt;/SPAN&gt;,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thank you for your question.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Your &lt;A href="https://community.ptc.com/t5/Customization/Creo-toolkit-full-asynchronous-mode-build-error/m-p/1055502#M14764" target="_blank"&gt;post&lt;/A&gt; has not yet received any response. I am replying to raise awareness. Hopefully, another community member will be able to help.&lt;BR /&gt;Also, feel free to add any additional information you think might be relevant. It sometimes helps to have screenshots to better understand what you are trying to do.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Vivek N&lt;BR /&gt;Community Moderation Team&lt;/P&gt;</description>
      <pubDate>Mon, 02 Mar 2026 04:23:29 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/Creo-toolkit-full-asynchronous-mode-build-error/m-p/1056647#M14782</guid>
      <dc:creator>vnamboodheri</dc:creator>
      <dc:date>2026-03-02T04:23:29Z</dc:date>
    </item>
    <item>
      <title>Re: Creo toolkit full asynchronous mode build error</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/Creo-toolkit-full-asynchronous-mode-build-error/m-p/1057181#M14786</link>
      <description>&lt;P&gt;most likely there was a missing library, an incorrect runtime library, an incorrect _DEBUG macro, or a combination of these.&lt;/P&gt;
&lt;P&gt;It would be a good idea to post the Visual Studio Project Properties → C/C++ → Command Line text, as well as the Linker → Command Line text, instead of a blurry picture.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Mar 2026 00:48:27 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/Creo-toolkit-full-asynchronous-mode-build-error/m-p/1057181#M14786</guid>
      <dc:creator>FV</dc:creator>
      <dc:date>2026-03-05T00:48:27Z</dc:date>
    </item>
    <item>
      <title>Re: Creo toolkit full asynchronous mode build error</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/Creo-toolkit-full-asynchronous-mode-build-error/m-p/1057194#M14787</link>
      <description>&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;STRONG&gt;in c++:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;/JMC /ifcOutput "dim_async_2\x64\Debug\" /GS /W0 /Zc:wchar_t /I"C:\Program Files\PTC\Creo 11.0-M050\Common Files\protoolkit\includes," /ZI /Gm- /Od /Fd"dim_async_2\x64\Debug\vc143.pdb" /Zc:inline /fp:precise /D "_ITERATOR_DEBUG_LEVEL=0" /D "PRO_USE_VAR_ARGS" /D "_MBCS" /errorReport:prompt /WX- /Zc:forScope /RTC1 /Gd /FU"C:\WINDOWS\assembly\GAC_64\System.Data\2.0.0.0__b77a5c561934e089\System.Data.dll" /FU"C:\WINDOWS\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll" /FU"C:\WINDOWS\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll" /MT /FC /Fa"dim_async_2\x64\Debug\" /EHsc /nologo /Fo"dim_async_2\x64\Debug\" /Fp"dim_async_2\x64\Debug\dim_async_2.pch" /diagnostics:column&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;in linker :&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;/OUT:"C:\Users\prithivi\Desktop\creo\vs_professional\dim_async_2\x64\Debug\dim_async_2.exe" /MANIFEST /NXCOMPAT /PDB:"C:\Users\prithivi\Desktop\creo\vs_professional\dim_async_2\x64\Debug\dim_async_2.pdb" /DYNAMICBASE "protk_dll_NU.lib" "ucore.lib" "ws2_32.lib" "netapi32.lib" "mpr.lib" "pt_asynchronous.lib" "psapi.lib" "kernel32.lib" "user32.lib" "gdi32.lib" "winspool.lib" "comdlg32.lib" "advapi32.lib" "shell32.lib" "ole32.lib" "oleaut32.lib" "uuid.lib" "odbc32.lib" "odbccp32.lib" /DEBUG:FULL /MACHINE:X64 /INCREMENTAL /PGD:"C:\Users\prithivi\Desktop\creo\vs_professional\dim_async_2\x64\Debug\dim_async_2.pgd" /SUBSYSTEM:CONSOLE /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /ManifestFile:"dim_async_2\x64\Debug\dim_async_2.exe.intermediate.manifest" /LTCGOUT:"dim_async_2\x64\Debug\dim_async_2.iobj" /ERRORREPORT:PROMPT /ILK:"dim_async_2\x64\Debug\dim_async_2.ilk" /NOLOGO /LIBPATH:"C:\Program Files\PTC\Creo 11.0-M050\Common Files\protoolkit\x86e_win64\obj" /TLBID:1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Mar 2026 02:51:24 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/Creo-toolkit-full-asynchronous-mode-build-error/m-p/1057194#M14787</guid>
      <dc:creator>TP_9862373</dc:creator>
      <dc:date>2026-03-05T02:51:24Z</dc:date>
    </item>
    <item>
      <title>Re: Creo toolkit full asynchronous mode build error</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/Creo-toolkit-full-asynchronous-mode-build-error/m-p/1057228#M14788</link>
      <description>&lt;P&gt;Just check the make examples in the installed toolkit folder for asynchronous apps. Here is all what you need to compile, next enhance by your needs.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Mar 2026 10:48:38 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/Creo-toolkit-full-asynchronous-mode-build-error/m-p/1057228#M14788</guid>
      <dc:creator>RPN</dc:creator>
      <dc:date>2026-03-05T10:48:38Z</dc:date>
    </item>
    <item>
      <title>Re: Creo toolkit full asynchronous mode build error</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/Creo-toolkit-full-asynchronous-mode-build-error/m-p/1057231#M14789</link>
      <description>&lt;P&gt;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/43740"&gt;@RPN&lt;/a&gt;&amp;nbsp; i managed to build a exe file but now when i try to connect to a running creo session, even based on a example file given, using pro_engineer_connect. i get -4 which means creo session not found error. is there any guide or document to read on it , how to do these ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Mar 2026 11:05:48 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/Creo-toolkit-full-asynchronous-mode-build-error/m-p/1057231#M14789</guid>
      <dc:creator>TP_9862373</dc:creator>
      <dc:date>2026-03-05T11:05:48Z</dc:date>
    </item>
    <item>
      <title>Re: Creo toolkit full asynchronous mode build error</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/Creo-toolkit-full-asynchronous-mode-build-error/m-p/1057279#M14790</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PROCOM.png" style="width: 653px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/135394i44063038CFB4A960/image-size/large?v=v2&amp;amp;px=999" role="button" title="PROCOM.png" alt="PROCOM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I'm sure you have already checked this but remember to set an environment variable for PRO_COMM_MSG_EXE&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Mar 2026 14:21:52 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/Creo-toolkit-full-asynchronous-mode-build-error/m-p/1057279#M14790</guid>
      <dc:creator>MikePhillips</dc:creator>
      <dc:date>2026-03-05T14:21:52Z</dc:date>
    </item>
    <item>
      <title>Re: Creo toolkit full asynchronous mode build error</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/Creo-toolkit-full-asynchronous-mode-build-error/m-p/1057406#M14791</link>
      <description>&lt;P&gt;This is probably a good idea, path issues seems to be already solved &lt;span class="lia-unicode-emoji" title=":upside_down_face:"&gt;🙃&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;About 2400 pages of toolkit manuals are a lot to read through &lt;span class="lia-unicode-emoji" title=":direct_hit:"&gt;🎯&lt;/span&gt; but you may get rewardedﾔ&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And in my point of view, PTC gives you the tools and how PTC thinks a working environment should be focus on. Your job is to understand this, but this is not documented.&amp;nbsp;&lt;BR /&gt;So make sure you can compile your apps with a couple off variables by your needs.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Mar 2026 22:58:06 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/Creo-toolkit-full-asynchronous-mode-build-error/m-p/1057406#M14791</guid>
      <dc:creator>RPN</dc:creator>
      <dc:date>2026-03-05T22:58:06Z</dc:date>
    </item>
    <item>
      <title>Re: Creo toolkit full asynchronous mode build error</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/Creo-toolkit-full-asynchronous-mode-build-error/m-p/1057417#M14792</link>
      <description>&lt;P&gt;yes&amp;nbsp;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/43740"&gt;@RPN&lt;/a&gt;&amp;nbsp; you are correct , path is already fixed , but i am clueless on how to connect even i have referred the example and used pro_engineer_connect to connect to a running session but i got -4 error. any pdf documents or examples or videos would help me , please&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Mar 2026 02:16:59 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/Creo-toolkit-full-asynchronous-mode-build-error/m-p/1057417#M14792</guid>
      <dc:creator>TP_9862373</dc:creator>
      <dc:date>2026-03-06T02:16:59Z</dc:date>
    </item>
    <item>
      <title>Re: Creo toolkit full asynchronous mode build error</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/Creo-toolkit-full-asynchronous-mode-build-error/m-p/1057419#M14793</link>
      <description>&lt;P&gt;one hint, do i need PROTK.dat file for this asnychronous mode exe file to connect to a creo session ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Mar 2026 02:18:08 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/Creo-toolkit-full-asynchronous-mode-build-error/m-p/1057419#M14793</guid>
      <dc:creator>TP_9862373</dc:creator>
      <dc:date>2026-03-06T02:18:08Z</dc:date>
    </item>
    <item>
      <title>Re: Creo toolkit full asynchronous mode build error</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/Creo-toolkit-full-asynchronous-mode-build-error/m-p/1057584#M14794</link>
      <description>&lt;P&gt;No you don’t need that. Just the env var &lt;SPAN&gt;PRO_COMM_MSG_EXE with full path incl. extension.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Don‘t forget, you may need an event loop, but check the examples.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Mar 2026 18:32:17 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/Creo-toolkit-full-asynchronous-mode-build-error/m-p/1057584#M14794</guid>
      <dc:creator>RPN</dc:creator>
      <dc:date>2026-03-06T18:32:17Z</dc:date>
    </item>
    <item>
      <title>Re: Creo toolkit full asynchronous mode build error</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/Creo-toolkit-full-asynchronous-mode-build-error/m-p/1057611#M14795</link>
      <description>&lt;P&gt;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/43740"&gt;@RPN&lt;/a&gt;&amp;nbsp;thanks for the reply, but can anyone suggest me a document or material specifically for this full&amp;nbsp; asynchronous mode usage, to avoid that -4 error .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 07 Mar 2026 05:26:52 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/Creo-toolkit-full-asynchronous-mode-build-error/m-p/1057611#M14795</guid>
      <dc:creator>TP_9862373</dc:creator>
      <dc:date>2026-03-07T05:26:52Z</dc:date>
    </item>
    <item>
      <title>Re: Creo toolkit full asynchronous mode build error</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/Creo-toolkit-full-asynchronous-mode-build-error/m-p/1057612#M14796</link>
      <description>&lt;LI-CODE lang="c"&gt;stat = ProEngineerConnect(„“, NULL, NULL, NULL, PRO_B_FALSE, 2000,&amp;amp;rnd,&amp;amp;hnd);&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For the session ID you use an empty string, like above?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="c"&gt;/*

proe_session_id  -  This argument can be either empty string or 
                         identification string returned by 
                         ProEngineerConnectIdExtract. If it is ID string, the
                         Creo Parametric TOOLKIT application will try to connect to the
			 specified Creo Parametric session; if this attempt fails,
			 the application will try to connect to any Creo Parametric
			 session.

*/&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-4 = PRO_TK_E_NOT_FOUND - No Creo Parametric session with the specified&lt;BR /&gt;characteristics could be found, or information on&lt;BR /&gt;the session could not be read from the name server.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So I assume Creo is running if you start you asyn exe!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 07 Mar 2026 06:09:33 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/Creo-toolkit-full-asynchronous-mode-build-error/m-p/1057612#M14796</guid>
      <dc:creator>RPN</dc:creator>
      <dc:date>2026-03-07T06:09:33Z</dc:date>
    </item>
    <item>
      <title>Re: Creo toolkit full asynchronous mode build error</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/Creo-toolkit-full-asynchronous-mode-build-error/m-p/1057613#M14797</link>
      <description>&lt;P&gt;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/43740"&gt;@RPN&lt;/a&gt;&amp;nbsp; This is my code ,&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;ProError       err;
    ProProcessHandle p_handle = nullptr

    // Connect to an EXISTING running Creo session
    err = ProEngineerConnect(
        NULL,       // display (NULL = use existing session)
        NULL,       // startup file
        NULL,       // application name
        NULL,       // application path
        PRO_B_TRUE, // multi-threaded
        10,         // timeout seconds
        NULL,       // connection ID (NULL = first available)
        &amp;amp;p_handle
    );&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 07 Mar 2026 06:08:27 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/Creo-toolkit-full-asynchronous-mode-build-error/m-p/1057613#M14797</guid>
      <dc:creator>TP_9862373</dc:creator>
      <dc:date>2026-03-07T06:08:27Z</dc:date>
    </item>
    <item>
      <title>Re: Creo toolkit full asynchronous mode build error</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/Creo-toolkit-full-asynchronous-mode-build-error/m-p/1057615#M14798</link>
      <description>&lt;LI-CODE lang="c"&gt;extern ProError ProEngineerConnect( 
  char *proe_session_id, 
  char *display,
  char *user, 
  char *textpath,
  ProBoolean allow_random,
  unsigned int timeout_sec,
  ProBoolean *random_choice,
  ProProcessHandle *p_handle
);&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The last and the second to last are return values, not input values!&lt;/P&gt;
&lt;P&gt;for&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;NULL,       // connection ID (NULL = first available&lt;/LI-CODE&gt;
&lt;P&gt;provide &amp;nbsp;a Boolean like &amp;amp;rnd, here you will see if a random session was used.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is not a multithread info&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;PRO_B_TRUE, // multi-threaded&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Just if you allow a random choice if more than one sessions are running, at the beginning I would use the false value.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 07 Mar 2026 06:47:55 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/Creo-toolkit-full-asynchronous-mode-build-error/m-p/1057615#M14798</guid>
      <dc:creator>RPN</dc:creator>
      <dc:date>2026-03-07T06:47:55Z</dc:date>
    </item>
    <item>
      <title>Re: Creo toolkit full asynchronous mode build error</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/Creo-toolkit-full-asynchronous-mode-build-error/m-p/1057616#M14799</link>
      <description>&lt;P&gt;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/43740"&gt;@RPN&lt;/a&gt;&amp;nbsp; I have changed to the below code now, but the error -4 is still there.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;    err = ProEngineerConnect(
        "",     // arg1: proe_session_id — "" finds any session
        NULL,           // arg2: display          — NULL matches any display
        NULL,           // arg3: user             — NULL matches any user
        NULL,      // arg4: textpath         — "" if no message files
        PRO_B_FALSE,     // arg5: allow_random     — pick any if multiple found
        2000,             // arg6: timeout_sec      — 30 seconds
        &amp;amp;random_choice, // arg7: random_choice    — OUTPUT, must NOT be NULL
        &amp;amp;proe_handle    // arg8: p_handle         — OUTPUT process handle
    );&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 07 Mar 2026 06:54:40 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/Creo-toolkit-full-asynchronous-mode-build-error/m-p/1057616#M14799</guid>
      <dc:creator>TP_9862373</dc:creator>
      <dc:date>2026-03-07T06:54:40Z</dc:date>
    </item>
    <item>
      <title>Re: Creo toolkit full asynchronous mode build error</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/Creo-toolkit-full-asynchronous-mode-build-error/m-p/1057617#M14800</link>
      <description>&lt;P&gt;Hmm, that is weird.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;make sure you report the correct status, &lt;STRONG&gt;not&lt;/STRONG&gt; the status from an other call&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;start Creo (Start and Stop until it is working)&lt;/LI&gt;
&lt;LI&gt;After start search with the process explorer the pro_comm_msg.exe&lt;/LI&gt;
&lt;LI&gt;Have a batch to start your own exe&lt;/LI&gt;
&lt;LI&gt;setup&amp;nbsp;&lt;SPAN&gt;pro_comm_msg_exe var with the complete path to the existing exe in that batch&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;take care if your path &lt;STRONG&gt;contains blanks&lt;/STRONG&gt;, this must be handled with &lt;STRONG&gt;additional&lt;/STRONG&gt; care!! I really&lt;STRONG&gt; do not&lt;/STRONG&gt; recommend blanks for the installation folder.&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;run this batch&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;SPAN&gt;Side node&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;arg5, if this is false, the connection will fail if more than one creo session is detected. Make sure at the beginning that you have only one xtop.exe in you process viewer.&amp;nbsp;&lt;BR /&gt;If this argument is true, the random choice returns if you had more than one session.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;And yes the value is in seconds, not Milli seconds, so a small second value like 10 should be enough.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 07 Mar 2026 11:26:48 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/Creo-toolkit-full-asynchronous-mode-build-error/m-p/1057617#M14800</guid>
      <dc:creator>RPN</dc:creator>
      <dc:date>2026-03-07T11:26:48Z</dc:date>
    </item>
    <item>
      <title>Re: Creo toolkit full asynchronous mode build error</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/Creo-toolkit-full-asynchronous-mode-build-error/m-p/1057665#M14801</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/43740"&gt;@RPN&lt;/a&gt;&amp;nbsp; , i get this output&lt;/P&gt;&lt;P&gt;=== Creo 11 Async Toolkit Launcher ===&lt;BR /&gt;PRO_COMM_MSG_EXE = C:\PROGRA~1\PTC\CREO11~1.0-M\COMMON~1\X86E_W~1\obj\PRO_CO~1.EXE&lt;BR /&gt;[OK] dim_async_2.exe found&lt;BR /&gt;[OK] nmsd already running&lt;BR /&gt;[OK] nmsd is running&lt;BR /&gt;[OK] Creo is running&lt;BR /&gt;[INFO] Adding firewall exception for nmsd...&lt;BR /&gt;Launching dim_async_2.exe...&lt;BR /&gt;PRO_COMM_MSG_EXE = C:\PROGRA~1\PTC\CREO11~1.0-M\COMMON~1\X86E_W~1\obj\PRO_CO~1.EXE&lt;BR /&gt;ProEngineerConnect result: -4&lt;BR /&gt;Failed to connect! Error: -4&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;for the code&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;    err = ProEngineerConnect(
        session_id,     // arg1: proe_session_id — "" finds any session
        NULL,           // arg2: display          — NULL matches any display
        NULL,           // arg3: user             — NULL matches any user
        NULL,      // arg4: textpath         — "" if no message files
        PRO_B_FALSE,     // arg5: allow_random     — pick any if multiple found
        30,             // arg6: timeout_sec      — 30 seconds
        &amp;amp;random_choice, // arg7: random_choice    — OUTPUT, must NOT be NULL
        &amp;amp;proe_handle    // arg8: p_handle         — OUTPUT process handle
    );

    std::cout &amp;lt;&amp;lt; "ProEngineerConnect result: " &amp;lt;&amp;lt; err &amp;lt;&amp;lt; std::endl;

    if (err != PRO_TK_NO_ERROR) {
        std::cerr &amp;lt;&amp;lt; "Failed to connect! Error: " &amp;lt;&amp;lt; err &amp;lt;&amp;lt; std::endl;
        return -1;
    }&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 08 Mar 2026 06:32:34 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/Creo-toolkit-full-asynchronous-mode-build-error/m-p/1057665#M14801</guid>
      <dc:creator>TP_9862373</dc:creator>
      <dc:date>2026-03-08T06:32:34Z</dc:date>
    </item>
    <item>
      <title>Re: Creo toolkit full asynchronous mode build error</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/Creo-toolkit-full-asynchronous-mode-build-error/m-p/1057670#M14802</link>
      <description>&lt;P&gt;Be careful with the short path, try the full path and use quotes. I never use this, but I may wrong.&lt;/P&gt;
&lt;P&gt;Instead of&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;PRO_COMM_MSG_EXE = C:\PROGRA~1\PTC\CREO11~1.0-M\COMMON~1\X86E_W~1\obj\PRO_CO~1.EXE&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;use&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;set&amp;nbsp;PRO_COMM_MSG_EXE =„C:\Programm Files\…“&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 08 Mar 2026 15:10:18 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/Creo-toolkit-full-asynchronous-mode-build-error/m-p/1057670#M14802</guid>
      <dc:creator>RPN</dc:creator>
      <dc:date>2026-03-08T15:10:18Z</dc:date>
    </item>
    <item>
      <title>Re: Creo toolkit full asynchronous mode build error</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/Creo-toolkit-full-asynchronous-mode-build-error/m-p/1057671#M14803</link>
      <description>&lt;P&gt;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/43740"&gt;@RPN&lt;/a&gt;&amp;nbsp; I tried with that too. But got the same error.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 08 Mar 2026 15:25:09 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/Creo-toolkit-full-asynchronous-mode-build-error/m-p/1057671#M14803</guid>
      <dc:creator>TP_9862373</dc:creator>
      <dc:date>2026-03-08T15:25:09Z</dc:date>
    </item>
  </channel>
</rss>

