2
I am changing the database of my Delphi application from Firebird to Postgresql, but at some points of my application when I am accessing Database information the following error message occurs:
But I have no idea what might be causing this error, if you have any idea
I will add the error that occurs also just before accessing this part of the application:
When I run the application through Delphi, the line that always shows error is inside a DB.pas file in the access path C:\Program Files (x86)\Borland\Delphi7\Source\Vcl
and the line is as follows::
procedure TDataSet.Open;
begin
Active := False; //Cursor do erro aponta aqui
end;
You use components for file . Rav?
– Sorack
@Sorack Yes, I do
– R.Santos
I have an idea of what the problem is. But first you will have to open the component project and recompile
– Sorack
@Sorack When you say the project is referring to the file . pas where this component is?
– R.Santos
No, to the design of the same component. Ideally you update and recompile
– Sorack
@Sorack I opened the project and recompiled, but the error kept occurring, this "Update it" you say would be what?
– R.Santos
Is this the component you use? http://acbr.sourceforge.net/drupal/? q=Node/36
– Sorack
Worse than not, this error occurs in more than one place of my application but from what I saw in none of the places it comes to NF
– R.Santos
Yeah, I just confirmed here that the only time I saw this problem we switched Rav for fast report "/
– Sorack
Yeah, I checked in here right now and it’s really not connected to NF'e where this error occurs, but will you be able to help me then who knows with the other Error that is occurring in the "Access Violation" I tried to download the Cnpack but I couldn’t use it to verify the access to the bank as you had told me, and this error is occurring directly in the application
– R.Santos
So the RAVE is for reporting, not necessarily for the IRS. It’s a half-buggy component, it looks like even the Embarcadero took it out on XE3 or something, because it didn’t work well. So maybe it’s the same component problem.
– Sorack
Let’s go continue this discussion in chat.
– R.Santos
@Sorack Yes, but I’m not using Rave Reports for a receipt, but to generate reports anyway. I’m also worried about that Access Violation error, because trying to find something that would help me figure out why this error was occurring, I saw in some forums that this error is very difficult to solve even for experienced Delphi programmers, Imagine for me then
– R.Santos
Let’s go continue this discussion in chat.
– Sorack
@Sorack I did a test of trying to put the Rave Reports report to be called along with the execution of the application, and went on to give an error Invalid Project Format, have any idea what it might be?
– R.Santos