Page 1 of 1

Any restriction on NT or Win98?

Posted: 29.08.2007, 16:10
by hudgi
Hi,
I receive "Operation aborted" messages while trying to connect from WinNT4 and Win98 clients. The same exe runs well on XP or Win2K.
The problem occurs on the following line:

[font=Courier New]ZConn.Connected := True;

object ZConn: TZConnection
Protocol = 'postgresql-8'
HostName = 'localhost'
Port = 54814
Database = 'XXX'
User = 'YYY'
Password = 'ZZZ'
ReadOnly = True
TransactIsolationLevel = tiReadCommitted
SQLHourGlass = True
Left = 756
Top = 6
end[/font]

What could be the problem?

Thanks,

Hudgi

Posted: 30.08.2007, 09:42
by zippo
could be a DLL problem?

Posted: 30.08.2007, 12:10
by gto
Or even firewall or network restriction problems.

I've a client on Windows 98 and it runs smootly. Never tested in NT4, but it should be OK too, with the latests service packs.

Posted: 30.08.2007, 12:30
by zippo
Yes, could be - I also had quite a lotof problems on a Win98 client connecting to MySQL server on another machine. I've read somewhere that it was a 9x - NT incompatibility...

Posted: 31.08.2007, 07:50
by hudgi
Hi,
I managed to set up the program on Win98. Do not ask me how.. :) I installed the Delphi7 IDE to debug the code right there - and magically it got repared... Now I have to set up another VM to try out againg without the IDE.

But: On NT4 I have a more usable error message:
SQL Error: could not send SSL negotiation packet. Socket is not connected (0x00002749/10057). Is there a problem with NT wsock32.dll? It's version is 4.00.
On Wn98 this number is 4.10 and works fine. Shold I replace this file on NT? I do not think that w98 and NT dlls are compatible...

--hudgi

Posted: 03.09.2007, 09:49
by hudgi
OK, I've got it.

I monitored the execution by ProcessExplorer and found that no lib*.dll was loaded. I had simply add an entry to the system PATH pointing to the exe directory (this directory contains the libpq.dll).
I thougth that it is not necessary to add the execution directory itself to the PATH to find files stored besides the exe. :? On XP it works well without adjusting the PATH...

Thanks a lot for the suggestions guys!

Cheers,

-- Hudgi

Posted: 03.09.2007, 10:01
by zippo
Happy you found the problem.