[Xapian-discuss] Databases on Windows

Colin Bell colinabell at gmail.com
Sat Apr 12 21:12:22 BST 2008


Hi All

I have the code below on a windows c++ build. I'm using Xapian 1.0.6  
built with the win32 build files. The program was built with Visual  
Studio 2008 Express

  It creates the folder "ÍÍÍÍresearch" (yes with odd characters) and  
then exits without any errors.

string dbpath = "research";
	try {
		// Open the database.
		Xapian::WritableDatabase database;
		database = Xapian::WritableDatabase(dbpath, DB_CREATE_OR_OPEN);
		
	} catch (const Error &error) {
		cout << error.get_msg() << "\n";
	}
	return 0;


More information about the Xapian-discuss mailing list