I used "FirebirdSql.Data.FirebirdClient.dll" ... which is located in my Debug subdir.
The exception is "Unable to find an entry point named 'isc_create_database' in DLL 'FirebirdSql.Data.FirebirdClient.dll". On Thu, Mar 16, 2017 at 2:07 PM, Jiří Činčura <j...@cincura.net> wrote: > If you are not using the server, then location of your embedded Firebird > library. > > -- > Mgr. Jiří Činčura > https://www.tabsoverspaces.com/ > > > On Thu, Mar 16, 2017, at 16:04, Clyde Eisenbeis wrote: >> t) I've tried FbConnection.CreateDatabase ... using info from >> StackOverflow: >> >> int pageSize = 4096; >> bool forcedWrites = true; >> bool overwrite = false; >> var connectionString = new FbConnectionStringBuilder >> { >> Database = stPathFilename, >> ServerType = FbServerType.Embedded, >> UserID = "SYSDBA", >> Password = "masterkey", >> ClientLibrary = "fbclient.dll" >> }.ToString(); >> FbConnection.CreateDatabase(connectionString, pageSize, >> forcedWrites, overwrite); >> >> I had presumed this is standard, except for the stPathFilename. >> >> However, this code throughs an exception ... complains about >> fbclient.dll. I'm not sure what to use for Client Library. >> >> On Wed, Mar 15, 2017 at 1:54 PM, Jiří Činčura <j...@cincura.net> wrote: >> >> FirebirdSql.Data.FirebirdClient.5.8.0 subdir ... with Firebird .dll's. >> > >> > To be precise, it's provider, not Firebird. >> > >> >> 1) Was the the correct procedure? >> > >> > Yes. >> > >> >> 2) How do I create a Firebird database file? ... as I did with SQLite >> >> ... System.Data.SQLite.SQLiteConnection.CreateFile(stPathFilename) >> >> where the filename ends with .sqlite. >> > >> > FbConnection.CreateDatabase. >> > >> > -- >> > Mgr. Jiří Činčura >> > https://www.tabsoverspaces.com/ >> > >> > >> > ------------------------------------------------------------------------------ >> > Check out the vibrant tech community on one of the world's most >> > engaging tech sites, Slashdot.org! http://sdm.link/slashdot >> > _______________________________________________ >> > Firebird-net-provider mailing list >> > Firebird-net-provider@lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/firebird-net-provider >> >> >> ------------------------------------------------------------------------------ >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, Slashdot.org! http://sdm.link/slashdot >> _______________________________________________ >> Firebird-net-provider mailing list >> Firebird-net-provider@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/firebird-net-provider > > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > Firebird-net-provider mailing list > Firebird-net-provider@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/firebird-net-provider > ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Firebird-net-provider mailing list Firebird-net-provider@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/firebird-net-provider