VoyForums
[ Show ]
Support VoyForums
[ Shrink ]
VoyForums Announcement: Programming and providing support for this service has been a labor of love since 1997. We are one of the few services online who values our users' privacy, and have never sold your information. We have even fought hard to defend your privacy in legal cases; however, we've done it with almost no financial support -- paying out of pocket to continue providing the service. Due to the issues imposed on us by advertisers, we also stopped hosting most ads on the forums many years ago. We hope you appreciate our efforts.

Show your support by donating any amount. (Note: We are still technically a for-profit company, so your contribution is not tax-deductible.) PayPal Acct: Feedback:

Donate to VoyForums (PayPal):

Login ] [ Contact Forum Admin ] [ Main index ] [ Post a new message ] [ Search | Check update time | Archives: 123456[7]8910 ]


[ Next Thread | Previous Thread | Next Message | Previous Message ]

Date Posted: 13:30:56 10/12/01 Fri
Author: Paul
Subject: Re: CreateDibSection failed error
In reply to: Greg 's message, "Re: CreateDibSection failed error" on 07:49:26 08/30/01 Thu

Hi Michel

Some of our clients are experiencing the same problem.

We use 3rd party scanning components and it seems after many scans we get this CreateDibSection failed message. I have been unable to reproduce the error in my programming enviroment. Typical scans are 24bit 8.5 x 11 @ 100 dpi.

Our scanning and display program is part of a very large Delphi Database Project. The following procedure is used to scan, view and save.

1: Scan/Viewer program created with main application.
2: Filename provided by main application.
3: Scan/Viewer show.
4: Scan image or images.
5: Save images as multi page Tiff
6: Scan/Viewer hide.
7: Restart at 2.

After repeating the above for many times we get the error which requires restarting the main application.

I attempt to create any graphic objects as needed and free these objects at hide time. I have tried MemProof and the only problem I see is possibly with some pointers being created and not released, memory seems fine.

One time on Win2000 someone got Virtual Memory Low etc.
Paul

>
>Hi Greg,
>
>I have seen this happen when relatively large images.
>On Win2K the error is much less frequent.
>
>In your case, does it happen after loading a large
>images (ie, a few thousand x a few thousand pixels) or
>simply after loading consecutive images?
>
>I have checked for resource leaks but have not found
>any with MemProof.
>
>Best regards,
>
>Michel
>
>>I've used TImageScrollBox as the main component in a
>>document imaging system indexing program. On some W9x
>>PCs after viewing a few dozen images the component
>>coughs up a "CreateDibSection failed" error and
>>TImageScrollBox goes black and will not load another
>>image. The program must be closed and restared. This
>>does not happen on the W2K PCs (well, not so far).
>>
>>Short of upgrading all the hardware and OS' in the
>>office does anyone have a solution/workaround/code
>>patch for this?
>>
>>Greg

[ Next Thread | Previous Thread | Next Message | Previous Message ]


Replies:


[ Contact Forum Admin ]


Forum timezone: GMT-5
VF Version: 3.00b, ConfDB:
Before posting please read our privacy policy.
VoyForums(tm) is a Free Service from Voyager Info-Systems.
Copyright © 1998-2019 Voyager Info-Systems. All Rights Reserved.