Using file geodatabase API with Visual Studio 2005

1644
1
10-04-2011 04:35 PM
__11
by
Deactivated User
Is it possible to use the Geodatabase API with Visual Studio 2005?

I downloaded FileGDB_API_VS2008_1_1, and built GeodatabaseManagement\GeodatabaseManagement,cpp using Visual Studio 2005, linking with the 2008 FileGDBAPI libraries. The release build (linked with FileGDBAPI.lib) runs, but the debug build fails with "The application failed to initialize properly (0xc0150002). Click on OK to terminate the application."
visual Studio's debug output says:
"'GeodatabaseManagement.exe': Loaded 'C:\Mitch\FileGDB_API_VS2008_1_1\bin\FileGDBAPID.dll', Symbols loaded (source information stripped).
LDR: LdrpWalkImportDescriptor() failed to probe c:\Mitch\FileGDB_API_VS2008_1_1\bin\FileGDBAPID.dll for its manifest, ntstatus 0xc0150002
Debugger:: An unhandled non-continuable exception was thrown during process load
The program '[2768] GeodatabaseManagement.exe: Native' has exited with code -1072365566 (0xc0150002).

Installing the 2008 redestributables package from http://www.microsoft.com/download/en/search.aspx?q=runtime+libraries didn't appear to make any difference.
0 Kudos
1 Reply
VinceAngelo
Esri Esteemed Contributor
Visual Studio 2005 isn't supported with the File Geodatabase API.  It doesn't seem likely
that Microsoft could make a debug environment forward-compatible, which is likely your
problem.

- V
0 Kudos