News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

How can I.....? GDI32 question...

Started by zedd151, March 03, 2025, 04:51:09 PM

Previous topic - Next topic

NoCforMe

Quote from: Vortex on March 05, 2025, 05:26:16 AMHello,

You don't need embedded data in the source code. Hutch's File Data Assembler ( fda ) does the the job, it converts any file to a linkable MS COFF object module :

\masm32\fda.exe
Well, kinda 6 of one, half a dozen of the other.
My technique (embedding the bitmap data in the program source) works well for small-ish bitmaps. (You could handle larger ones by putting the embedded data into an include file instead of right in the source code.)

Creating the data as an object file might work better for larger bitmaps.

What I like about my method is that it keeps the file count down; I prefer not to have a zillion .obj files to have to link to create the executable. (And of course forget to include them when I zip the files up to post here.)
Assembly language programming should be fun. That's why I do it.