<?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 Determine x32 or x64? in Customization</title>
    <link>https://www.ptcusercommunity.com/t5/Customization/Determine-x32-or-x64/m-p/93623#M4448</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;John,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If you are writing a DLL then your compiled code will NOT work with both &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;environments.  The DLL must be the same architecture as Pro/ENGINEER. What &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I would do is compile a dll for both architectures and determine the &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;architecture at install time.  Then install the appropriate DLL at that &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;time.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Patrick Williams&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sr. Systems Engineer II&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mechanical Engineering Solutions&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Missile Systems&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Raytheon Company&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;+1 520.545.6995   (business)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;+1 520.545.6399   (fax)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;TU/M12/8&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;6221 S Palo Verde Rd&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Tucson, AZ 85706   USA&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A href="http://www.raytheon.com" target="_blank"&gt;www.raytheon.com&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This message contains information that may be confidential and privileged. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Unless you are the addressee (or authorized to receive mail for the &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;addressee), you should not use, copy or disclose to anyone this message or &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;any information contained in this message. If you have received this &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;message in error, please so advise the sender by reply e-mail and delete &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;this message. Thank you for your cooperation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;John Mattson &amp;lt;-&amp;gt; wrote on 03/31/2010 09:13:57 AM:&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Oct 2017 16:54:18 GMT</pubDate>
    <dc:creator>pwilliams-3</dc:creator>
    <dc:date>2017-10-26T16:54:18Z</dc:date>
    <item>
      <title>Determine x32 or x64?</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/Determine-x32-or-x64/m-p/93622#M4447</link>
      <description>We are going to be switching to a mixed environment where we have some x32 and some x64 machines, both needing to run my Pro/TOOLKIT programs. Is there a function I can call which will tell me if I am on a x32 or x64 bit platform. The same code should work regardless, but I do need</description>
      <pubDate>Sun, 13 Dec 2020 17:26:27 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/Determine-x32-or-x64/m-p/93622#M4447</guid>
      <dc:creator>JohnMattson</dc:creator>
      <dc:date>2020-12-13T17:26:27Z</dc:date>
    </item>
    <item>
      <title>Determine x32 or x64?</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/Determine-x32-or-x64/m-p/93623#M4448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;John,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If you are writing a DLL then your compiled code will NOT work with both &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;environments.  The DLL must be the same architecture as Pro/ENGINEER. What &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I would do is compile a dll for both architectures and determine the &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;architecture at install time.  Then install the appropriate DLL at that &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;time.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Patrick Williams&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sr. Systems Engineer II&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mechanical Engineering Solutions&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Missile Systems&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Raytheon Company&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;+1 520.545.6995   (business)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;+1 520.545.6399   (fax)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;TU/M12/8&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;6221 S Palo Verde Rd&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Tucson, AZ 85706   USA&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A href="http://www.raytheon.com" target="_blank"&gt;www.raytheon.com&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This message contains information that may be confidential and privileged. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Unless you are the addressee (or authorized to receive mail for the &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;addressee), you should not use, copy or disclose to anyone this message or &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;any information contained in this message. If you have received this &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;message in error, please so advise the sender by reply e-mail and delete &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;this message. Thank you for your cooperation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;John Mattson &amp;lt;-&amp;gt; wrote on 03/31/2010 09:13:57 AM:&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Oct 2017 16:54:18 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/Determine-x32-or-x64/m-p/93623#M4448</guid>
      <dc:creator>pwilliams-3</dc:creator>
      <dc:date>2017-10-26T16:54:18Z</dc:date>
    </item>
    <item>
      <title>Determine x32 or x64?</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/Determine-x32-or-x64/m-p/93624#M4449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;John&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Perhaps you can use the "getenv" function and check the "PROCESSOR_ARCHITECTURE=x86" environment variable.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Michael&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Mar 2010 18:36:58 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/Determine-x32-or-x64/m-p/93624#M4449</guid>
      <dc:creator>hawkeyeintx</dc:creator>
      <dc:date>2010-03-31T18:36:58Z</dc:date>
    </item>
    <item>
      <title>RE: Determine x32 or x64?</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/Determine-x32-or-x64/m-p/93625#M4450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;specify the path of dll file using $PRO_MACHINE_TYPE in protk.dat, such as:&lt;/P&gt;&lt;P&gt;exec_file .\$PRO_MACHINE_TYPE\myapp.dll&lt;/P&gt;&lt;P&gt;ProE set this variable self:&lt;/P&gt;&lt;P&gt; for x32: $PRO_MACHINE_TYPE=i486_nt&lt;/P&gt;&lt;P&gt;  for x64: $PRO_MACHINE_TYPE=x86e_win64&lt;/P&gt;&lt;P&gt;so for the setup we can take no care of system plattform &lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 May 2010 15:21:59 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/Determine-x32-or-x64/m-p/93625#M4450</guid>
      <dc:creator>MinhuaChen</dc:creator>
      <dc:date>2010-05-27T15:21:59Z</dc:date>
    </item>
  </channel>
</rss>

