flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
mns 17 Jan 2012, 12:04
can some one tell me why compiler complain when i use ,
mov [binfo.biCompression],BI_JPEG |
|||
![]() |
|
revolution 17 Jan 2012, 12:59
How have you defined binfo?
It would help if you showed your code! |
|||
![]() |
|
mns 17 Jan 2012, 14:16
i will attach source with this
Actually i want to use jpg image in dialogbox instead bmp file
|
|||||||||||
![]() |
|
mns 17 Jan 2012, 16:39
thanx
Then should i change the inc file? and if i change it compiler complain about DIB_RGB_COLORS so what can i do ? |
|||
![]() |
|
AsmGuru62 17 Jan 2012, 17:45
@mns: take a look at the Windows .H files and add the missing definitions into some file of yours or modify the FASM original .INC file.
|
|||
![]() |
|
mns 18 Jan 2012, 13:36
i have changed GDI32.INC file in fasmw16935\INCLUDE\EQUATES
but compiler complain about DIB_RGB_COLORS !! Please help! |
|||
![]() |
|
JohnFound 18 Jan 2012, 13:47
Is it so hard to type in Google "define DIB_RGB_COLORS" and to look in the returned results. The first one will show you that DIB_RGB_COLORS=0.
![]() |
|||
![]() |
|
typedef 18 Jan 2012, 16:02
^^^ haha I use the same search keyword lol
"#define CONSTANT_NAME" |
|||
![]() |
|
mns 18 Jan 2012, 16:06
Thanx JohnFound,I got the point.
But I'm asking is, is it ok to change .INC files? And if so,why the original files don't come with these values? |
|||
![]() |
|
LocoDelAssembly 18 Jan 2012, 16:16
Better would be to have your own INC (which could be placed along with the official includes), so when you download the latest fasm you don't need to merge changes, just decompress into the existing fasm folder and allow overwrite.
|
|||
![]() |
|
mns 18 Jan 2012, 16:59
Is there a better way to use jpeg files as resource in a dialogbox application?
|
|||
![]() |
|
typedef 18 Jan 2012, 19:42
ask JohnFound and he'll tell you to use PNGs.
|
|||
![]() |
|
JohnFound 18 Jan 2012, 20:48
Actually I use GIFs because I have portable library only for GIF format.
![]() |
|||
![]() |
|
Yardman 22 Jan 2012, 01:02
[ Post removed by author. ]
Last edited by Yardman on 04 Apr 2012, 04:48; edited 1 time in total |
|||
![]() |
|
JohnFound 22 Jan 2012, 08:39
Yardman, it is part of FreshLib and is freely available. It is located in "freshlib/graphics/giflib.asm".
|
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.