andrewyu
asked on
access violation at NTDLL.DLL
I have following code in a button, but, I always get system error [Access violation at address 77FB5B5E in module 'ntdll.dll'. Read of address 000091E9.] after I click this button for few times.
I am using Delphi 6 and the report is prepared by CR9.
Thanks,
Andrew
crpCrystal.Clear;
crpCrystal.CloseEngine;
crpCrystal.CloseWindow;
crpCrystal.CloseJob;
crpCrystal.Clear;
crpCrystal.ReportName := 'crystal.rpt';
crpCrystal.Refresh;
crpCrystal.ParamByName('My ID', '').CurrentValue:= IntToStr(intMyID);
crpCrystal.Printer.Orienta tion := orPortrait;
if IsNumericStr(txtNoOfCopy.T ext) then
begin
crpCrystal.PrintOptions.Co pies := StrToInt(txtNoOfCopy.Text) ;
end
else
begin
crpCrystal.PrintOptions.Co pies := 2;
end;
crpCrystal.Output:= toPrinter;
crpCrystal.Execute;
I am using Delphi 6 and the report is prepared by CR9.
Thanks,
Andrew
crpCrystal.Clear;
crpCrystal.CloseEngine;
crpCrystal.CloseWindow;
crpCrystal.CloseJob;
crpCrystal.Clear;
crpCrystal.ReportName := 'crystal.rpt';
crpCrystal.Refresh;
crpCrystal.ParamByName('My
crpCrystal.Printer.Orienta
if IsNumericStr(txtNoOfCopy.T
begin
crpCrystal.PrintOptions.Co
end
else
begin
crpCrystal.PrintOptions.Co
end;
crpCrystal.Output:= toPrinter;
crpCrystal.Execute;
Can it be some license restriction of evaluation copy of CRystal Reports (like limitation of report instances to execute)?
I managed to avoid this error by reinstalling Windows :)
I had the same error not connected to Crystal Reports... I think it's something from Delphi though...
Ah yes... I presume that you use a licenced version of Delphi ... because if you don't...
>:
I had the same error not connected to Crystal Reports... I think it's something from Delphi though...
Ah yes... I presume that you use a licenced version of Delphi ... because if you don't...
>:
ASKER
All software here are licenced ! *.*
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
YES, you are right ...
I have a login ID there...
Thank you for your suggestion...
I have a login ID there...
Thank you for your suggestion...
Is your problem resolved? Maybe it would be fair to split points between guys who tried to help?