Any restriction on NT or Win98?

Forum related to version 6.5.1 (alpha) and 6.6.x (beta) of ZeosLib's DBOs

Moderators: gto, cipto_kh, EgonHugeist

Post Reply
hudgi
Fresh Boarder
Fresh Boarder
Posts: 23
Joined: 19.03.2007, 16:13

Any restriction on NT or Win98?

Post 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
zippo
Silver Boarder
Silver Boarder
Posts: 322
Joined: 12.10.2005, 18:01
Location: Slovenia

Post by zippo »

could be a DLL problem?
gto
Zeos Dev Team
Zeos Dev Team
Posts: 278
Joined: 11.11.2005, 18:35
Location: Porto Alegre / Brasil

Post 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.
Use the FU!!!!!IN Google !

gto's Zeos Quick Start Guide

Te Amo Taís!
zippo
Silver Boarder
Silver Boarder
Posts: 322
Joined: 12.10.2005, 18:01
Location: Slovenia

Post 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...
hudgi
Fresh Boarder
Fresh Boarder
Posts: 23
Joined: 19.03.2007, 16:13

Post 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
hudgi
Fresh Boarder
Fresh Boarder
Posts: 23
Joined: 19.03.2007, 16:13

Post 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
zippo
Silver Boarder
Silver Boarder
Posts: 322
Joined: 12.10.2005, 18:01
Location: Slovenia

Post by zippo »

Happy you found the problem.
Post Reply