Hello
When I try to enter Database property of TpgConnection component design time Access Violation occurs.
I made test with windows version of Lazarus 1.4.2 (32/64bit) and Lazarus 1.4.4. (32/64bit). With Delphi everything works OK.
Workaround to avoid this exception is to paste correct ConnectionString property and set LoginPrompt
property to False.
TpgConnection - Access Violation in Lazarus
Re: TpgConnection - Access Violation in Lazarus
Hello,
We cannot reproduce the problem. Please specify the exact version of PgDAC.
We cannot reproduce the problem. Please specify the exact version of PgDAC.
Re: TpgConnection - Access Violation in Lazarus
version of pgDac is 4.6.19 (professional with full source)
Re: TpgConnection - Access Violation in Lazarus
I made same test on Ubuntu 12.04 (64 bits) with Lazarus 1.4.4. (64 bits).
An error occurs only if you click on database property design time.
If you set database property from code everything works fine.
Must be some problem with calling the property editor for database property of
TpgConnection but I don't know how to debug property editor.
An error occurs only if you click on database property design time.
If you set database property from code everything works fine.
Must be some problem with calling the property editor for database property of
TpgConnection but I don't know how to debug property editor.
Re: TpgConnection - Access Violation in Lazarus
Thank you for the information. We have reproduced this issue. We will investigate it and inform you as soon as we get any results.
Re: TpgConnection - Access Violation in Lazarus (solved)
I found how to debug Lazarus IDE thanks to Lazarus community.
Exception raise in unit: PgConnectForm.pas at line 108.
Real problem is in "pgConnectForm.lfm file. There is no definition for panels:
pUserName, pPassword, pServer, pPort, pDatabase, pSchema, pButtons
all this panels exists in pgConnectForm.dfm.
After recreating pgConnectForm.lfm from pgConnectForm.dfm everything works fine.
Best Regards
Danijel
Exception raise in unit: PgConnectForm.pas at line 108.
Code: Select all
pServer.Visible := ConnectDialogOptions[i].Visible;
pUserName, pPassword, pServer, pPort, pDatabase, pSchema, pButtons
all this panels exists in pgConnectForm.dfm.
After recreating pgConnectForm.lfm from pgConnectForm.dfm everything works fine.
Best Regards
Danijel
Re: TpgConnection - Access Violation in Lazarus
We have fixed this problem. This fix will be included in the next PgDAC build.
If you need the pgConnectForm.lfm file containing the above fix, please let me know via email: andreyz*devart*com - and I will send it to you.
If you need the pgConnectForm.lfm file containing the above fix, please let me know via email: andreyz*devart*com - and I will send it to you.