Hi all-

Does anyone have the trick to connect by passing parameters in C++?

Here is an example:

session sql(firebird, "service=" + dbalias + "user="+ user1 + "password="+
passwd+"");

I can't seem to get that quoted string right.

without passing in variables it looks something like

session sql(firebird, "service=127.0.0.1:db user=myuser password=mypass");

Any cool tips are appreciated. thanks roboloki
_______________________________________________
soci-users mailing list
soci-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/soci-users

Reply via email to