Im using Delphi7 and QuickReport 3.
Im new to Delphi and QuickReport.
When I debug my application I got an error at the procedure TQRPreview.UpdateZoom;
if assigned(FQRPrinter)
The exception is Access violation
In my form Im calling , QuickRep.Prepare;and QuickRep.Preview.
When Im calling QuickRep.Preview I'm geeting the error.
Any help is appreciated.
Double check your code when you are creating some form with that QReport. You are freeing it after it is no longer needed.
Secondly, try to add Application.Processmessages; after you're done with any printing.
Related
I'm using Delphi (Version 28.0.42600.6491).
Often (about two times per day) when i'm working, i get this error when trying to compiling any project. Only workaround is to close the IDE and open it again :
dcc32 Fatal Error F2084 Internal Error: AV116B241E(11640000)-R00000378-0
It's not a big deal but this happens everyday.
Any hints to fix it for good ?
Thanks !
it uses to happen alto to me... i have no ideia what can lead to this ERROR but in my case i found that it was triggered on a function where i was comparing to TObject members of a class
IE: Self.Parent=NewComponent.Parent
my solution was to find a work arround to eleminate the Object comparison and use other datatype reference for comparison
I want to implement list of different types using MvxRecyclerView and ItemTemplateSelector but I get not supported exception when I only try to show activity with MvxRecyclerView.
System.NotSupportedException has been thrown.
Could not activate JNI Handle 0x7ffc627020 (key_handle 0xc743032) of Java type 'mvvmcross/droid/support/v7/recyclerview/MvxRecyclerView' as managed type 'MvvmCross.Droid.Support.V7.RecyclerView.MvxRecyclerView'.
The same when I add binding to ItemsSource, MvxTemplateSelector or MvxItemTemplate. Nothing helps. What am I missing?
I decided to post my answer as I had the same issue in MvvmCross 8.0.2 despite using the MvvmCross.DroidX.RecyclerView.MvxRecyclerView.
The solution in my case was to add MvvmCross.Plugin.FieldBinding package to the Droid project.
Hi All: I have a VS2019 console app project that generates PDFs. Everything was working fine a month ago. When I re-opened the project and tried to run it, I am receiving a nullreferenceexception error when trying to create the first font in the PdfDocument.
PdfFont bfTimes = PdfFontFactory.CreateFont(StandardFonts.TIMES_ROMAN);
throws:
System.NullReferenceException
HResult=0x80004003
Message=Object reference not set to an instance of an object.
Source=itext.io
StackTrace:
at iText.IO.Font.FontCache..cctor()
I've confirmed the PdfDocument exists, and the font above returns "true" for "isRegistered".
Nothing changed in the project, but I did update VSCommunity to 16.11.2 at some point in the past couple of weeks. Is there any way to get a better error description for what's happening?
i searched for that specific exception error and found this other post from a few weeks ago:
https://csharpforums.net/threads/using-a-winform-to-create-a-pdf-using-itext7.6406/
The suggestion to turn on "just my code" in the debugging options made the error go away like magic :o
In a Data Module I put a SQLDataSet and will be for the SQLConnection. In the "CommandText" property I'm using the line:
select * from tblusers
When changing the "Active" property of SQLDataSet, it returns the error "Attempt to reopen an open cursor" or "unknown ISC error 0". The latter occurs once, on the first attempt. I'm using Delphi Rio 10.3 and Firebird 3.0 Dialect 3.
I went back to Firebird 2.5 and I didn't get the error with SQLDataSet anymore, the connections went back to normal. I believe there is some incompatibility with the new Firebird 3 Library.
I am using Delphi 7, while calling LoadFromFile from my REMObject Type I am randomly encountering a Stream Read Error.
The following line is where I get the error:
FileData.LoadFromFile(QItem.PDFPath);
What can I do to find and fix the error?