error handling for bitmap fail to load in DIB

new topic     » topic index » view thread      » older message » newer message

Hi Everybody:
I been trying to find in the archieves any type of code that will keep a 
bitmap error from happening.

I am not sure what I am doing wrong.  But
I am having big problem with loding my bitmaps into a simple window!

constant pic_1 = create(Bitmap,"pic1.bmp", Window21, 60, 10,148,148,0 )

once in a while the bitmap will fail to load. It only happens once out 
of 30 or so times, but once it fails to load, any other bitmaps will 
also fail to load, and only stopping the program, can the problem be 
resolved. 

 This is all the code!
constant pic_1 = create(Bitmap,"pic1.bmp", Window21, 60, 10,148,148,0 )
The bitmap is in the path, and there is no reason for it to fail to 
load.

I have tried using draw but it still happens!  What gives?

Does any one have error code to trap this type of error?

Please help.
THanks in anticipation

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu