Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Borland BDE fails opening UNC pipe to MSSQL

12 views
Skip to first unread message

Niccolo

unread,
Apr 1, 2007, 3:31:44 AM4/1/07
to
I'm trying to run a Delphi application on Wine. The application uses
BDE to talk to a MSSQL server, but database communication does not
work.

Enable debugging i see this error message:

warn:file:wine_nt_to_unix_file_name L"SRVCAF1\\pipe\\sql\\query" not
found in ...dosdevices/unc
warn:ntdll:NtCreateFile L"\\??\\UNC\\SRVCAF1\\pipe\\sql\\query" not
found (c000003a)
warn:file:CreateFileW Unable to create file L"\\\\SRVCAF1\\pipe\\sql\
\query" (status c000003a)

Is this UNC pipe supposed to work on Wine?

I did not find any pointer about this, if I can understand the matter
I can write some

DanKegel

unread,
Apr 1, 2007, 8:03:33 PM4/1/07
to
On Apr 1, 12:31 am, "Niccolo" <goo...@rigacci.org> wrote:
> I'm trying to run a Delphi application on Wine. The application uses
> BDE to talk to a MSSQL server, but database communication does not
> work.
>
> warn:file:CreateFileW Unable to create file L"\\\\SRVCAF1\\pipe\\sql\
> \query" (status c000003a)
>
> Is this UNC pipe supposed to work on Wine?

Probably not yet. See if you can communicate over TCP instead.

I've posted a question about remote named pipes on wine-devel.
- Dan

Kai Blin

unread,
Apr 7, 2007, 4:19:08 AM4/7/07
to
On Apr 1, 9:31 am, "Niccolo" <goo...@rigacci.org> wrote:
> I'm trying to run a Delphi application on Wine. The application uses
> BDE to talk to a MSSQL server, but database communication does not
> work.
> Is this UNC pipe supposed to work on Wine?

So far it seems like Wine only supports local pipes. I've talked to a
couple of people about implementing remote pipes, and there seems to
be a consensus that in order to do this in a clean way, we need kernel
level support for this. I'll see what I can do about this, but unless
the answer from the kernel people is a clear "no", it probably will
take a while to be implemented and get into the mainstream distros. If
the answer is a clear "no", we need to think up some better way to do
this in Wine, so I can't even guess how long that would take.

Sorry I can't give you a more positive reply. I guess for now you
should see if TCP is an option for you, as Dan suggested.

Cheers,
Kai

0 new messages