Home » Developing U++ » UppHub » Firebird connection problem
Firebird connection problem [message #49261] |
Sat, 13 January 2018 04:16 |
|
Hi-
I am trying to get firebird from the bazaar working.
Under build methods I don't know the option with the keyboard to add an include directory.
I can only find directories already included. There is no plus symbol that I can click on to add
an extra text control. Running virtualbox with xfce and fedora 27.
I tried clicking the arrow or pressing return. It won't drop down to a blank input field so I can
add the header directory for firebird.
I am also stuck on trying to get the db to connect with firebird.
I tried this:
CONSOLE_APP_MAIN
{
FBSession s;
s.Connect(
"hotchicken",
"localhost",
"sysdba",
"masterkey",
NULL
);
Sql stmt(s);
stmt.SetStatement("Select * from Country");
stmt.Run();
.... more code goes here
It did not connect. I also added a dll to my project where the firebirdTest.cpp file
is located - libfbclient.so. I also replaced masterkey with my passwd.
I don't know if I can't connect because I didn't list the include directory for firebird
under the build methods because the GUI is acting up a little.
Novo was using cmd_line[0] and cmd_line[1] for arguments. Not sure what that was about.
I figured used the same session connect and put in the strings instead of cmd_line[number].
Please assist if you have a moment and any cool ideas.
thx. - mtdew3q
[Updated on: Sat, 13 January 2018 19:22] by Moderator Report message to a moderator
|
|
|
Goto Forum:
Current Time: Sat Apr 20 07:48:04 CEST 2024
Total time taken to generate the page: 0.03437 seconds
|