Search found 6 matches

by highlycaffeinated
Tue Jan 13, 2009 4:35 pm
Forum: C, C++, C#
Topic: Error in CreateCompatibleBitmap 0x00000057
Replies: 5
Views: 25210

Thanks for the suggestion. I tried the SetImageCrop command and it didn't solve the problem. I've e-mailed you the relevant source. Hopefully you'll find some clues in there.

Thanks again,
David
by highlycaffeinated
Tue Jan 13, 2009 8:26 am
Forum: C, C++, C#
Topic: Error in CreateCompatibleBitmap 0x00000057
Replies: 5
Views: 25210

Hi David,

Thanks for your response. I am (now) using DPlot Jr v2.2.2.5 having just updated from 2.1.9.x. Unfortunately, I'm still seeing the same error. I suspect it is something specific to the plot I've created as I'm able to get bitmaps of other plots just fine. Any other ideas of where to look ...
by highlycaffeinated
Mon Jan 12, 2009 9:49 am
Forum: C, C++, C#
Topic: Error in CreateCompatibleBitmap 0x00000057
Replies: 5
Views: 25210

Error in CreateCompatibleBitmap 0x00000057

Hello-

I am running into an problem trying to call dplot.DPlot_GetBitmap(docNum, 200, 50) from my C# program. The error message I am getting is "Error in CreateCompatibleBitmap=0x00000057, size=2089890447w x 570h. Obviously I don't really want a bitmap that is 2 billion pixels wide...I only asked ...
by highlycaffeinated
Thu Jan 08, 2009 3:48 pm
Forum: General discussion
Topic: Legend Placement
Replies: 9
Views: 29121

That did the trick. Thanks!
by highlycaffeinated
Thu Jan 08, 2009 2:50 pm
Forum: General discussion
Topic: Legend Placement
Replies: 9
Views: 29121

Is there a similar trick for moving the legend to the left of the plot, into the Y axis label area? I've tried setting the x offset to a negative value but then the legend gets clipped rather than the plot resized to fit the legend.

Thanks
David
by highlycaffeinated
Fri Dec 12, 2008 9:49 pm
Forum: Suggestions/Questions
Topic: XTYP_REQUEST fails in call to DPlot_GetBitmap
Replies: 1
Views: 9754

XTYP_REQUEST fails in call to DPlot_GetBitmap

Hello-

I'm occasionally getting the following error when I try to call DPlot_GetBitmap():

In DPlot_GetHBITMAP, XTYP_REQUEST returned NULL

I checked my parameters and my docNum is valid and the sizes are reasonable. Any idea what the problem might be?

Thanks!