Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Go to previous messageGo to previous message
jerson is currently offline  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

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: From XSD to XML
Next Topic: HowTo bind StaticImage to SQL
Goto Forum:
  


Current Time: Sun Aug 24 13:23:10 CEST 2025

Total time taken to generate the page: 0.04458 seconds