Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Error: "Not enough storage is available to pricess this command" in Windows XP and Delphi 2007

edited April 2012 in General
Hi,

I encounter error "Not enough storage is available to pricess this
command" when preview report in Windows XP. I have created a prototype
that shows the problem.

The problem only happen in Windows XP. My screen resolution is
1920x1080. It works fine on Windows 7.

Please follow the steps to replay the error:

1. Create a VCL Form Application
2. Drop TppReport component on Form.
3. Change the TppReport setting:
- Unit Measurement: millimeters
- Page Height: 35mm
- Page Width: 25mm
4. Drop a TButton on Form, and write OnClick event:

ppReport1.PreviewFormSettings.WindowState := wsMaximized;
ppReport1.DeviceType := 'Screen';
ppReport1.Print;

5. Compile the application in Delphi 2007
6. Run the application in Windows XP with screen resolution 1920 x 1080
7. Press Button1 to and the error "Not enough storage is available to
pricess this command" prompt.


--
Best regards,
Chau Chee Yang

Comments

  • edited April 2012
    Hi Chau Chee,

    Which version of ReportBuilder are you using? If you are using RB
    14.04, we may have a patch that could solve this problem. Send an email
    to support@digital-metaphors.com requesting the patch.

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.