11-01-2004, 08:49 AM
I'm a problem with UGL; specifically with the function uglNewBMP. The problem started after I had to divide my code up into seperate modules. That didn't take much time; I figured that would have to be done eventually so I had already given all my subs and functions prefixes-- mathInBox, imgGetBmpWH, etc. The best way I can describe it is that when I try to load a BMP, it simply returns a handle of zero. It didn't work after I moved this particular sub back to the main module, so I checked to see I had run out of EMS memory or something, but emsAvail returned "15728640".
What's odd about this is that it seems that I can load one BMP file-- grass.bmp, which is tiled to form the background-- but I can't load any others. Does anyone have any suggestions?
*edit* Another oddity. The old, single-module program in my backup folder still works fine.
--pr0gger
What's odd about this is that it seems that I can load one BMP file-- grass.bmp, which is tiled to form the background-- but I can't load any others. Does anyone have any suggestions?
*edit* Another oddity. The old, single-module program in my backup folder still works fine.
--pr0gger
size=9]"To announce that there must be no criticism of the president, or that we are to stand by the president, right or wrong, is not only unpatriotic and servile, but is morally treasonable to the American public." -- Theodore Roosevelt[/size]