Home » Community » Newbie corner » StaticImage cannot show BMP file
Re: StaticImage cannot show BMP file [message #43607 is a reply to message #43605] |
Fri, 12 September 2014 10:36   |
jerson
Messages: 202 Registered: June 2010 Location: Bombay, India
|
Experienced Member |

|
|
Hi Koldo
I undertook re-building the IDE package. After fixing the errors encountered I got it to build successfully
in void TextCompareCtrl::Paint(Draw& draw)
WString ln = (WString)l.text; had to be done in Textctrl.cpp to overcome WString expected error.
Result with Controls4u_Demo:
The newly built IDE now does not open BMP files now. Is it something to do with the MinGW 4.8.1 compiler I use?
PNG, JPG works. TIF does not list/shows blank when loaded. The new build of IDE says "New Bitmap Image.bmp not an image" for BMP files. The pre-compiled binary of IDE works correctly. Can someone hazard a guess as to what I am doing wrong?
Another issue which might be related to this problem is that I am unable to debug programs using gdb internal. The program seemingly executes till the breakpoint and the screen won't refresh. Asking it to single step into or step over a code line shows the status Running.... and then it stops again. Asking the debugger to run makes the code perform as normal. However, when the debugger stops at a breakpoint, there is no screen refresh. I am out of ideas as to where to look for answers; so, I never asked this question. GDB_MI2 mode at least works this far, Legacy mode crashes the IDE.
Regards
Jerson
PS: Interchanged versions of MinGW. Problem still remains. JPG, PNG, TIF works ok, only BMP has a problem.
[Updated on: Fri, 12 September 2014 11:21] Report message to a moderator
|
|
|
 |
|
StaticImage cannot show BMP file
By: jerson on Wed, 10 September 2014 13:24
|
 |
|
Re: StaticImage cannot show BMP file
By: koldo on Thu, 11 September 2014 08:53
|
 |
|
Re: StaticImage cannot show BMP file
By: jerson on Thu, 11 September 2014 10:55
|
 |
|
Re: StaticImage cannot show BMP file
By: koldo on Thu, 11 September 2014 11:10
|
 |
|
Re: StaticImage cannot show BMP file
By: jerson on Thu, 11 September 2014 11:16
|
 |
|
Re: StaticImage cannot show BMP file
By: koldo on Thu, 11 September 2014 11:51
|
 |
|
Re: StaticImage cannot show BMP file
By: jerson on Thu, 11 September 2014 12:52
|
 |
|
Re: StaticImage cannot show BMP file
By: koldo on Fri, 12 September 2014 08:41
|
 |
|
Re: StaticImage cannot show BMP file
By: jerson on Fri, 12 September 2014 09:18
|
 |
|
Re: StaticImage cannot show BMP file
By: jerson on Fri, 12 September 2014 10:36
|
 |
|
Re: StaticImage cannot show BMP file
By: jibe on Fri, 12 September 2014 14:19
|
 |
|
Re: StaticImage cannot show BMP file
By: jerson on Fri, 12 September 2014 15:05
|
 |
|
Re: StaticImage cannot show BMP file
By: jerson on Fri, 12 September 2014 15:33
|
 |
|
Re: StaticImage cannot show BMP file
By: hans on Sat, 13 September 2014 20:18
|
 |
|
Re: StaticImage cannot show BMP file
By: jerson on Sun, 14 September 2014 05:19
|
Goto Forum:
Current Time: Sun Aug 24 13:23:10 CEST 2025
Total time taken to generate the page: 0.04458 seconds
|