<?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: Programming ArcObjects 10.1 with Embarcadero Delphi XE2 in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/programming-arcobjects-10-1-with-embarcadero/m-p/72605#M1947</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Am trying to develop using Delphi XE, in your document you comment about batch file to import the com objects,&amp;nbsp; is this available to download anywhere.&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Phil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Aug 2014 05:05:29 GMT</pubDate>
    <dc:creator>PhilipHughes</dc:creator>
    <dc:date>2014-08-13T05:05:29Z</dc:date>
    <item>
      <title>Programming ArcObjects 10.1 with Embarcadero Delphi XE2</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/programming-arcobjects-10-1-with-embarcadero/m-p/72601#M1943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Since Delphi 2009, 2010, and XE couldn't deal with COM very well, I never published any how-to documents on programming ArcObjects with those IDE's.&amp;nbsp; However, XE2 does a fine job, so I have rewritten the document from scratch and included a sample project.&amp;nbsp; The download is here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.arcgis.com/home/item.html?id=12b751a0413c4e8fad9d45ad690609b2"&gt;http://www.arcgis.com/home/item.html?id=12b751a0413c4e8fad9d45ad690609b2&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"Roj"&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Oct 2012 18:38:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/programming-arcobjects-10-1-with-embarcadero/m-p/72601#M1943</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2012-10-01T18:38:09Z</dc:date>
    </item>
    <item>
      <title>Re: Programming ArcObjects 10.1 with Embarcadero Delphi XE2</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/programming-arcobjects-10-1-with-embarcadero/m-p/72602#M1944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;HI --&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am interested in trying to get ArcObjects working with Delphi XE5 so I wanted to use your instructions as a guide but it says I don't have access to the document.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I also saw a similar (or the same?) document on Scribd but I have to pay for access to that version.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this document available somewhere?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Rich&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Mar 2014 14:03:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/programming-arcobjects-10-1-with-embarcadero/m-p/72602#M1944</guid>
      <dc:creator>RichardMorey</dc:creator>
      <dc:date>2014-03-05T14:03:42Z</dc:date>
    </item>
    <item>
      <title>Re: Programming ArcObjects 10.1 with Embarcadero Delphi XE2</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/programming-arcobjects-10-1-with-embarcadero/m-p/72603#M1945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I don't understand.&amp;nbsp; It has 188 downloads, and it's shared with Everyone, but I'll try re-sharing it and see if that helps...Done.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I also have Delphi XE5, but I have not updated the documents for any versions of Delphi since XE2.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would recommend making your own little batch file that goes like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
set ArcGISHome="%ProgramFiles(x86)%\ArcGIS\Desktop10.2\com\"
set DelphiDir="%ProgramFiles(x86)%\Embarcadero\RAD Studio\12.0\Bin\"
set ImportDir="%UserProfile%\Documents\RAD Studio\12.0\Projects\Packages\ArcObjects"
if not exist %ImportDir% mkdir %ImportDir%
for %%A in (%ArcGISHome%*.olb %ArcGISHome%*.tlb %ArcGISHome%*.ocx) do %DelphiDir%tlibimp.exe -P+ -D%ImportDir% -Hs- -Hpa"ArcObjects" -Pt+ -R- "%%A"
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Make sure you assign the variables properly, and change it whenever you have a new version of ArcGIS or Delphi.&amp;nbsp; You can also go with hard-coded paths if that makes you feel more comfortable.&amp;nbsp; Also take the (x86) out when ArcGIS moves to 64-bit or Delphi does.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You'll add the resulting .pas files to a Delphi package, and fix up some of the things that can't be compiled because of type incompatibilities (always believe the method return type or parameter type, not the property type).&amp;nbsp; Once it compiles you can install it and you may or may not get any components on your palette.&amp;nbsp; I don't know how ArcGIS Engine works but I would imaging it would put quite a few components on your palette.&amp;nbsp; But doing this enables me to create tools for use in ArcMap and ArcCatalog.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Let me know if you still can't access the document.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"Roj"&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 22:49:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/programming-arcobjects-10-1-with-embarcadero/m-p/72603#M1945</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-12-10T22:49:05Z</dc:date>
    </item>
    <item>
      <title>Re: Programming ArcObjects 10.1 with Embarcadero Delphi XE2</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/programming-arcobjects-10-1-with-embarcadero/m-p/72604#M1946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks so much. I was able to get to the document this time. I did get most of the work done without your help but the compile errors appendix will be key!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Rich&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2014 15:53:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/programming-arcobjects-10-1-with-embarcadero/m-p/72604#M1946</guid>
      <dc:creator>RichardMorey</dc:creator>
      <dc:date>2014-03-06T15:53:37Z</dc:date>
    </item>
    <item>
      <title>Re: Programming ArcObjects 10.1 with Embarcadero Delphi XE2</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/programming-arcobjects-10-1-with-embarcadero/m-p/72605#M1947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Am trying to develop using Delphi XE, in your document you comment about batch file to import the com objects,&amp;nbsp; is this available to download anywhere.&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Phil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Aug 2014 05:05:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/programming-arcobjects-10-1-with-embarcadero/m-p/72605#M1947</guid>
      <dc:creator>PhilipHughes</dc:creator>
      <dc:date>2014-08-13T05:05:29Z</dc:date>
    </item>
    <item>
      <title>Re: Programming ArcObjects 10.1 with Embarcadero Delphi XE2</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/programming-arcobjects-10-1-with-embarcadero/m-p/72606#M1948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As I mentioned a few posts back, Delphi XE didn't deal with COM very well at all.&amp;nbsp; The support was so bad, that I didn't make any documents about it and ArcObjects.&amp;nbsp; However, since XE 2 (up to, and including, XE 6), COM and ActiveX support in Delphi has been really good.&amp;nbsp; There are two reasons I haven't updated this document in those years: 1) a lack of time on my part and 2) the instructions are pretty much the same for those versions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know if and how my Delphi/ArcObjects documents are available on other sites, but I've shared this document with everyone and everyone on this site should be able to download it.&amp;nbsp; Maybe you have to log in to ESRI or something, but the registration's free.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know where ArcGIS Desktop is going in terms of COM and ActiveX support.&amp;nbsp; Since the "VBA" help has stopped being updated, my guess is that ESRI will stop (or has stopped) supporting COM connectivity and supports .NET development more officially.&amp;nbsp; Delphi and .NET only go together with Oxygene (which has another name now) and I don't think I'll go down that path.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"Roj"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Aug 2014 14:14:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/programming-arcobjects-10-1-with-embarcadero/m-p/72606#M1948</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2014-08-15T14:14:30Z</dc:date>
    </item>
    <item>
      <title>Re: Programming ArcObjects 10.1 with Embarcadero Delphi XE2</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/programming-arcobjects-10-1-with-embarcadero/m-p/72607#M1949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am returning to delphi after number of years&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;Phil&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sent from my iPad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Aug 2014 15:31:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/programming-arcobjects-10-1-with-embarcadero/m-p/72607#M1949</guid>
      <dc:creator>PhilipHughes</dc:creator>
      <dc:date>2014-08-15T15:31:21Z</dc:date>
    </item>
  </channel>
</rss>

