<?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 File Geodatabase dependency missing in File Geodatabase API Questions</title>
    <link>https://community.esri.com/t5/file-geodatabase-api-questions/file-geodatabase-dependency-missing/m-p/552195#M887</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using **File Geodatabase AP**I into my own MFC C++ application (which only reads data from .gdb folders). I have include all the headers and libraries required for the api in the project Properties section. (except **FileGDBAPI.dll** and **FileGDBAPID.dll** files because i don't know the the including directory for them). there is no compile time error but when i create any object from FileGDBAPI (e.g `GeoDatabase geodatabase;`) then i am getting an error **"the appliaction was unable to start correctly (0xc000007b). Click OK to close the application"** &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone please tell me what i am ignoring or anything that can make this error go away.&lt;/P&gt;&lt;P&gt;How can i add *.dll files related to File Geodatabase API?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Jan 2016 10:20:07 GMT</pubDate>
    <dc:creator>umarshahid</dc:creator>
    <dc:date>2016-01-26T10:20:07Z</dc:date>
    <item>
      <title>File Geodatabase dependency missing</title>
      <link>https://community.esri.com/t5/file-geodatabase-api-questions/file-geodatabase-dependency-missing/m-p/552195#M887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using **File Geodatabase AP**I into my own MFC C++ application (which only reads data from .gdb folders). I have include all the headers and libraries required for the api in the project Properties section. (except **FileGDBAPI.dll** and **FileGDBAPID.dll** files because i don't know the the including directory for them). there is no compile time error but when i create any object from FileGDBAPI (e.g `GeoDatabase geodatabase;`) then i am getting an error **"the appliaction was unable to start correctly (0xc000007b). Click OK to close the application"** &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone please tell me what i am ignoring or anything that can make this error go away.&lt;/P&gt;&lt;P&gt;How can i add *.dll files related to File Geodatabase API?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jan 2016 10:20:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/file-geodatabase-api-questions/file-geodatabase-dependency-missing/m-p/552195#M887</guid>
      <dc:creator>umarshahid</dc:creator>
      <dc:date>2016-01-26T10:20:07Z</dc:date>
    </item>
    <item>
      <title>Re: File Geodatabase dependency missing</title>
      <link>https://community.esri.com/t5/file-geodatabase-api-questions/file-geodatabase-dependency-missing/m-p/552196#M888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This doesn't have to do with the FileGDB API so much as Visual Studio/Windows software development.&amp;nbsp; Esri ships two libraries, the link library in &lt;SPAN style="font-family: 'courier new', courier;"&gt;lib&lt;/SPAN&gt;, and the runtime library in &lt;SPAN style="font-family: 'courier new', courier;"&gt;bin&lt;/SPAN&gt;.&amp;nbsp; The link library is just a set of stubs so the compiler knows the DLL function signatures, and the runtime library contains the actual file geodatabase functions. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually, it's a bit more complicated than that, because Esri ships three different API implementations for Windows, for Visual Studio 2010, 2012, and 2013, and each of them have both 32-bit and 64-bit libraries, and each of those have DEBUG and NDEBUG builds.&amp;nbsp; And then there's the C# library, Esri.FileGDBAPI.dll, with one wrapper library per application word-size per compiler environment.&amp;nbsp; And the matching PDB files, of course. (&lt;EM&gt;And&lt;/EM&gt; there's 32-bit and 64 bit Linux releases, &lt;STRONG&gt;and&lt;/STRONG&gt; GCC and CLANG MacOS releases.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As a software developer, you should not ever need to ship &lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;FileGDBAPID.dll&lt;/SPAN&gt;, since the larger, slower debug libraries aren't of much use in production environments, so only &lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;FileGDBAPI.dll&lt;/SPAN&gt; needs to be copied into the &lt;SPAN style="font-family: 'courier new', courier;"&gt;bin&lt;/SPAN&gt; folder of your application (from &lt;SPAN style="font-family: 'courier new', courier;"&gt;bin&lt;/SPAN&gt; or &lt;SPAN style="font-family: 'courier new', courier;"&gt;bin64&lt;/SPAN&gt;, depending on which way you've compiled your application).&amp;nbsp; For local testing purposes, you can include the runtime distribution folder in your local PATH, but it's best practice to test out of your application's &lt;SPAN style="font-family: 'courier new', courier;"&gt;bin&lt;/SPAN&gt; folder, so you don't have to deal with runtime link issues later in the production chain.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;The location for those libraries is dependent on the location to which you've extracted the API zipfile, so we can't help you on that score.&amp;nbsp; I would recommend that you set an environment variable for the File Geodatabase API home (e.g. &lt;SPAN style="font-family: 'courier new', courier;"&gt;FGDBAPI_HOME&lt;/SPAN&gt;), so that you can use that environment variable in your VS projects -- in this way subsequent releases don't require rewriting all your project parameters.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&lt;IMG __jive_id="173742" alt="fgdbapi1.jpg" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/173742_fgdbapi1.jpg" style="width: 620px; height: 446px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Visual Studio allows for command execution after successful compile (the "Post-Build" event in "Build Events"), so you can even automate the process of copying both your compiled binary and the runtime DLL into a BAT script if you choose (the details for that are off-topic here).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- V&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BTW: GeoNet doesn't use gis.stackexchange.com formatting techniques, so &lt;A href="http://gis.stackexchange.com/questions/178195/file-geodatabase-dependency-missing"&gt;duplicate cross-posts&lt;/A&gt; are not going to look the same.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jan 2016 15:05:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/file-geodatabase-api-questions/file-geodatabase-dependency-missing/m-p/552196#M888</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2016-01-26T15:05:15Z</dc:date>
    </item>
  </channel>
</rss>

