RU/2: Форум. Общение пользователей и разработчиков OS/2 (eCS). : Ответить на сообщение
Имя:
e-mail:
FIDO:
Home page:
сохранить данные о вас
Тема:
> Привет! > > Кто-нибудь работал с subj на VAC++3.08? Помогите пожалуйста. > Следующий кусок кода: > > conn = PQsetdbLogin(NULL,NULL,NULL,NULL,"template1", "postgres", "postgres"); > if(PQstatus(conn) == CONNECTION_BAD) > { > fprintf(stderr, "\nConnection to database %s failed.\n",dbName); > fprintf(stderr, "%s", PQerrorMessage(conn)); > exit_nicely(conn); > } > > Выдает в stderr следующую фигню: > > DosResetEventSem: 0x00000006 DosCreateMuxWaitSem: 0x00000006 > Connection to database template1 failed. > pqWait() -- select() failed: errno=22 > Invalid argument > > Программу линкую с pq.lib сделанную из pq.dll имплибом > > С надеждой, Павел Ржаницын >
_, __, _, __,
/_\ |_) /_\ |_)
| | | | | | \
~ ~ ~ ~ ~ ~ ~
Programmed by
Dmitri Maximovich
,
Dmitry I. Platonoff
,
Eugen Kuleshov
.
25.09.99 (c) 1999,
RU/2
. All rights reserved.
Rewritten by
Dmitry Ban
. All rights ignored.