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 » U++ Library support » U++ Widgets - General questions or Mixed problems » FileSelPreview - No previews bmp files (UPP 10694, 64bit, GCC, C++11) (Not work with bmp - plugin/bmp (UPP 10694, 64bit, GCC, C++11))
Re: FileSelPreview - No previews bmp files (UPP 10694, 64bit, GCC, C++11) [message #47447 is a reply to message #47402] Tue, 17 January 2017 11:02 Go to previous messageGo to previous message
SergeA is currently offline  SergeA
Messages: 13
Registered: October 2015
Location: Ukraine
Promising Member
//Fix in bmphdr.h

#ifndef _nImage__bmp_h_
#define _nImage__bmp_h_

//#ifdef COMPILER_MSC
#if defined(COMPILER_MSC) || defined(COMPILER_MINGW)
#pragma pack(push, 1)
#endif

..........

//#ifdef COMPILER_MSC
#if defined(COMPILER_MSC) || defined(COMPILER_MINGW)
#pragma pack(pop)
#endif

struct BMPHeader : public BMP_INFOHEADER
{
	BMP_RGB palette[256];
};

#endif

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Incorrect header in ppm.h
Next Topic: bug: declaring widget as global
Goto Forum:
  


Current Time: Sun Aug 24 15:15:02 CEST 2025

Total time taken to generate the page: 0.05616 seconds