Select to view content in your preferred language

Cannot find file

2890
0
12-17-2012 07:50 AM
EricCox
New Contributor
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:

if ((hr = OpenGeodatabase(L"D:\\Work\\Include\\FileGDB_API_VS2008_1_3\\samples\\data\\Querying.gdb";, geodatabase)) != S_OK)
    return hr;

Which works fine.  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.  Obviously the file could be found, because I can open it in the sample project that way but apparently it is looking differently.  As far I can tell the two projects are using the same setting for character sets and so forth.  So what is going on here?
0 Kudos
0 Replies