flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
mns
Can someone please help me how to correct folloiwig error!!!!!
![]() ![]() when run the application not opening DLG3 (code is attached with this as zip file)
Last edited by mns on 12 Dec 2011, 11:19; edited 1 time in total |
|||||||||||
![]() |
|
typedef
1 MB ? lol,
|
|||
![]() |
|
mns
typedef why? what is the wrong.I can't understand
|
|||
![]() |
|
mns
Thanx JohnFound, I don't have much knowladge in programming.(may be because I am learning it by my self)but can understand 1-3.
But why in assembly language we cannot use lot of bitmaps? and if we want to develop a application which need lot of resources(may be bitmaps) what will we do? (i'v attached the corrected code with this)
|
|||||||||||
![]() |
|
JohnFound
mns, of course you can use bitmaps of whatever size you want.
It is, how to say it - "matter of style". ![]() The assembly applications are known as optimal, small and fast. As an illustration your image pp1.bmp is 24bit bitmap. The size of this image is 220kbytes. There are only 2 colors in the image - if you save it in 2 color bitmap - the file will be only 10kbytes in size. If you use some compressed format, the size becomes even smaller: In PNG - 472bytes! Another level of approach is to draw the buttons on the fly - your buttons are very simple and you simply don't need bitmaps for such simple images. |
|||
![]() |
|
mns
Hey now I understand what you have said.
Thank you very much JohnFound.I really appriciate your thought. Thanx again Bro! |
|||
![]() |
|
AsmGuru62
Images, like ICO and BMP can be loaded from files by LoadImage API.
This way they do not take room in EXE file and they can be loaded when needed minimizing the application startup time. |
|||
![]() |
|
mns
Thanx! AsmGuru62
|
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.