<?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 Fixed (for C++) in v1.2 in File Geodatabase API Questions</title>
    <link>https://community.esri.com/t5/file-geodatabase-api-questions/macros-for-error-values/m-p/726889#M1156</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;C++ definitions have been added in API v1.2, but see "&lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/threads/59734-Error-values-in-c"&gt;Error values in c#&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Jun 2012 02:48:18 GMT</pubDate>
    <dc:creator>__11</dc:creator>
    <dc:date>2012-06-13T02:48:18Z</dc:date>
    <item>
      <title>Macros for error values</title>
      <link>https://community.esri.com/t5/file-geodatabase-api-questions/macros-for-error-values/m-p/726887#M1154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It appears that the only macros defined in the API headers for fgdbError values are S_OK, S_FALSE, S_FALSE. The documentation and header comments list "magic numbers" for return values, eg (from CreateGeodatabase) "If the file geodatabase already exists a -2147220653 (The table already exists) error will be returned."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It would be helpful if the API header listed macros for all of the error values so that the application programmer doesn't have to do it, if we want to handle specific scenarios eg :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#define FGDB_PATH_NOT_FOUND&amp;nbsp;&amp;nbsp; static_cast&amp;lt;fgdbError&amp;gt;(-2147024893)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#define FGDB_TABLE_ALREADY_EXISTS static_cast&amp;lt;fgdbError&amp;gt;(-2147220653)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Oct 2011 02:55:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/file-geodatabase-api-questions/macros-for-error-values/m-p/726887#M1154</guid>
      <dc:creator>__11</dc:creator>
      <dc:date>2011-10-19T02:55:10Z</dc:date>
    </item>
    <item>
      <title>Re: Macros for error values</title>
      <link>https://community.esri.com/t5/file-geodatabase-api-questions/macros-for-error-values/m-p/726888#M1155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This will be done in a future release.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Nov 2011 19:51:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/file-geodatabase-api-questions/macros-for-error-values/m-p/726888#M1155</guid>
      <dc:creator>DavidSousa</dc:creator>
      <dc:date>2011-11-02T19:51:14Z</dc:date>
    </item>
    <item>
      <title>Fixed (for C++) in v1.2</title>
      <link>https://community.esri.com/t5/file-geodatabase-api-questions/macros-for-error-values/m-p/726889#M1156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;C++ definitions have been added in API v1.2, but see "&lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/threads/59734-Error-values-in-c"&gt;Error values in c#&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2012 02:48:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/file-geodatabase-api-questions/macros-for-error-values/m-p/726889#M1156</guid>
      <dc:creator>__11</dc:creator>
      <dc:date>2012-06-13T02:48:18Z</dc:date>
    </item>
  </channel>
</rss>

