Hi All,
I am very new to notes C API and i wrote one small code in notes C API just to open the database.The code is working fine .. but whenever i m executing this database is not gettting opened.
This is my code:-
// Sa mple.cpp : Defines the entry point for the console application.
//
#include “stdafx.h”
#include “global.h”
#include “nsfdb.h”
int main(int argc, char* argv)
{
STATUS sResult;
HANDLE hDB;
sResult = NotesInitExtended(argc,argv);
if(sResult == NOERROR)
{
sResult = NSFDbOpen("d:\\Manish\\login.nsf",&hDB);
if(sResult == NOERROR)
{
printf("WOrked perfectly");
NSFDbClose(hDB);
}
}
printf(“Error got occured\n\n”);
NotesTerm();
return 0;
}
Thanks for ur response
Manish