Page 1 of 1

AssignConnect - Access violation and / or garbage data

Posted: Mon 15 Jul 2013 23:06
by SMM
Hi All

I am using Unidac in an app that has a host app, and a bunch of .bpl plugins. (I am using REM Hydra). When I use the AssignConnect message, I either get a access violation, or it works, and then when I open my query, I get random Unicode characters with a message to the effect that these strings are not understood by the server.

Unidac 5.01
Delphi XE4

S

Re: AssignConnect - Access violation and / or garbage data

Posted: Tue 16 Jul 2013 07:40
by AndreyZ
Hello,

Please specify the exact database server (for example, Oracle, SQL Server, etc.) you are working with.

Re: AssignConnect - Access violation and / or garbage data

Posted: Tue 16 Jul 2013 12:02
by SMM
Sorry, I am using PostgreSQL 9.1.9

Re: AssignConnect - Access violation and / or garbage data

Posted: Tue 16 Jul 2013 15:41
by DemetrionQ
Hello.

Thank you for the information. We have reproduced the issue, and we are investigating it. We'll do our best to add the fix in the next build.

Re: AssignConnect - Access violation and / or garbage data

Posted: Fri 26 Jul 2013 13:16
by DemetrionQ
We have fixed the issue. We will add the fix in the next build.

Re: AssignConnect - Access violation and / or garbage data

Posted: Fri 16 Aug 2013 23:49
by SMM
Any chance I can get a patch in the meantime? This is holding up a project I am working on.

Thnx.

Re: AssignConnect - Access violation and / or garbage data

Posted: Mon 19 Aug 2013 10:49
by AlexP
Hello,

If you have a version with source code, you should add the following changes to the PgClassesUni.pas module:
in the TPgSQLConnection.AssignConnect method

replace

Code: Select all

FConnected := True;
with

Code: Select all

FConnected := FProtocol <> nil;
If you have no sources, please send us your license number and e-mail to alexp*devart*com in order for me to send you the fixed version of UniDAC. Also, please specify your version of the IDE.

Re: AssignConnect - Access violation and / or garbage data

Posted: Fri 23 Aug 2013 17:32
by SMM
Hi Alex

I have mailed you twice since this was posted, have you got them?

Re: AssignConnect - Access violation and / or garbage data

Posted: Tue 27 Aug 2013 08:50
by AlexP
Hello,

I have sent you the fixed UniDAŠ” once more. Please check your mail and spam filter. Your spam filter may not allow letters with attachments