Mombu the Programming Forum

Go Back   Mombu the Programming Forum > Programming > error loading bitmap
User Name
Password
REGISTER NOW! Mark Forums Read




Reply
1 9th October 03:15
loukia
External User
 
Posts: 1
Default error loading bitmap



hi i have the following code:
Graphics::TBitmap *logo = new Graphics::TBitmap();

logo->LoadFromFile("logo3.bmp");

when the photo has the same width x height above 32x32(like 512x512 or
64x64) it gives an error saying error loading
stream.
when the picture has diffrent width then height it works perfectly(like
512x499).
why does this happen?
  Reply With Quote


 


2 9th October 03:15
michel leunen
External User
 
Posts: 1
Default error loading bitmap



Which version of C++Builder? I can't reproduce this error with BDS2006.

Michel
--
----------------------------------------
Michel Leunen
mailto: see my homepage.
C++Builder, BCC5.5.1 Web site:
http://www.leunen.com/
----------------------------------------
  Reply With Quote
3 9th October 03:15
loukia
External User
 
Posts: 1
Default error loading bitmap


im using builder c++6
  Reply With Quote
4 9th October 03:15
michael
External User
 
Posts: 1
Default error loading bitmap


Im using builder c++6 and I also cant reproduce the error, is there anymore
code that you have added?
Thanks Mike
  Reply With Quote
5 9th October 03:16
remy lebeau \(teamb\)
External User
 
Posts: 1
Default error loading bitmap


Can you post the actual .bmp file that you are having problems with?


Gambit
  Reply With Quote
Reply


Thread Tools
Display Modes




666