LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Bitmaps can be transferen to a Canvs in Windows XP , but not in 98SE

With a created Distribution-Kit I have no problems with Loading a Bitmap and displaying it on a Canvas as long as I install it on Windows ME or XP, but on Windows 98 nothing is displayed (anything else works)
Version: CVI 6.0.0.
0 Kudos
Message 1 of 3
(3,016 Views)
Hi,

I created a sample application in CVI 6.0 that just allows you to select a bitmap file and load it onto a canvas control. I ran this on a 98se machine, and it worked without any problems. At this point, I think we need to get some more information about how the you created the application (i.e, what OS was it created on) and see if we can reproduce the issue by doing exactly what you did.
I think if we can get a small example of his distribution kit that causes the error, we can try it on the test system. In addition, I'll attach my sample application so the you can try this on your machine to see if it causes an error as well. Hope to hear back soon! thanks!
Message 2 of 3
(3,016 Views)
Thank you very much Thorsten,

it seems, the problem has to do with the size of bitmap + application and my test-system, as your example works with the bitmaps I used in my application and my application works with a scaled down bitmap as I tested today. May be the size of application + bitmap caused a memory overflow and the bitmap could not be loaded anymore. For the test I used a small system (64MB RAM) to ensure the application runs on (almost) any older machine at my customers.
Thank you very much again, you small demo helped me a lot in localising the problem an I can work around the problem with the smaller bitmap, as I don't need a high resolution.
0 Kudos
Message 3 of 3
(3,016 Views)