I used the API to try to open my geodatabase, and the OpenGeodatabase() function return -1. I tried it on the sample gdb in the API and the function succeeded.
Is there any way to get more detail on why the function failed? A description of the last error will be helpful.