<?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 Cannot find file in File Geodatabase API Questions</title>
    <link>https://community.esri.com/t5/file-geodatabase-api-questions/cannot-find-file/m-p/306013#M492</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am just trying to get some very basic features going. I modified the Display sample project to use an absolute file path for the geodatabase: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;if ((hr = OpenGeodatabase(L"D:\\Work\\Include\\FileGDB_API_VS2008_1_3\\samples\\data\\Querying.gdb";, geodatabase)) != S_OK)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return hr;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Which works fine.&amp;nbsp; But if I include this very same line in another project that I wrote(MSVS2008) I get hr = -2147024894 every time, indicating that the file cannot be found.&amp;nbsp; Obviously the file &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;could&lt;/SPAN&gt;&lt;SPAN&gt; be found, because I can open it in the sample project that way but apparently it is looking differently.&amp;nbsp; As far I can tell the two projects are using the same setting for character sets and so forth.&amp;nbsp; So what is going on here?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Dec 2012 15:50:24 GMT</pubDate>
    <dc:creator>EricCox</dc:creator>
    <dc:date>2012-12-17T15:50:24Z</dc:date>
    <item>
      <title>Cannot find file</title>
      <link>https://community.esri.com/t5/file-geodatabase-api-questions/cannot-find-file/m-p/306013#M492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am just trying to get some very basic features going. I modified the Display sample project to use an absolute file path for the geodatabase: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;if ((hr = OpenGeodatabase(L"D:\\Work\\Include\\FileGDB_API_VS2008_1_3\\samples\\data\\Querying.gdb";, geodatabase)) != S_OK)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return hr;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Which works fine.&amp;nbsp; But if I include this very same line in another project that I wrote(MSVS2008) I get hr = -2147024894 every time, indicating that the file cannot be found.&amp;nbsp; Obviously the file &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;could&lt;/SPAN&gt;&lt;SPAN&gt; be found, because I can open it in the sample project that way but apparently it is looking differently.&amp;nbsp; As far I can tell the two projects are using the same setting for character sets and so forth.&amp;nbsp; So what is going on here?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Dec 2012 15:50:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/file-geodatabase-api-questions/cannot-find-file/m-p/306013#M492</guid>
      <dc:creator>EricCox</dc:creator>
      <dc:date>2012-12-17T15:50:24Z</dc:date>
    </item>
  </channel>
</rss>

