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
Any restriction on NT or Win98?
Moderators: gto, cipto_kh, EgonHugeist
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
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
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
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