U++ framework
Do not panic. Ask here before giving up.

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: Fri Sep 18 09:16:48 GMT+2 2026

Total time taken to generate the page: 0.00621 seconds