Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Thursday, November 10, 2005 7:46:50 PM(UTC)
stallion

Groups: Registered
Posts: 2



I am using LeadTools 13 and Borland C++ Builder version 5.0 for
development. I am often getting  error while using L_paintDC to
display the bitmap.the return code is (-1) i.e ERROR_NO_MEMORY. I am
using TImage Component of BCB. I am supplying the Image canvas handle
as hdc for L_PaintDC function. Still unable  to track the problem. how to solve this?  anybody please..


 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Friday, November 18, 2005 5:54:36 AM(UTC)

Ike  
Ike

Groups: Tech Support
Posts: 23

Thanks: 3 times

L_PaintDC will return ERROR_NO_MEMORY if:

  • It fails to allocate one or more data buffers during the render.
  • The call to StretchDIBits fails.

to help you, we would need to know:

  • the size of your image and bits per pixel
  • the display device capabilities
  • the current setting of L_SetDisplayMode
  • the parameters you are passing
Ike
LEAD Technologies, Inc.

LEAD Logo
 
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.088 seconds.