Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change
Quote from: NoCforMe on November 22, 2024, 05:17:56 PMWhat do you mean, "info size = 379,766,016"?
Quote from: sinsi379766016: 00 00 00 00 00 49 49 51 51 51 51 51 51 51 51 51
Quote from: NoCforMe on November 22, 2024, 05:17:56 PMThere was one glaring error in the memory addresses of each line of pixels which I just fixed, but that only affects the number shown before each line. (Take a look at the output, it'll jump out atcha.)But not atchoo
;========================================
; Start worker thread to crunch BMP data:
;========================================
INVOKE CreateThread, OFFSET ThreadSecAttr, 0, OFFSET ProcessBitmapData,
NULL, 0, NULL
; Free buffers:
INVOKE HeapFree, HeapHandle, 0, FileBuffer
INVOKE HeapFree, HeapHandle, 0, TextBuffer
INVOKE ExitThread, 0
RET
QuoteThe thread object remains in the system until the thread has terminated and all handles to it have been closed through a call to CloseHandle.
Quote from: NoCforMe on November 22, 2024, 08:15:37 AMIf you're going to edit a BMP, then use a graphics editor (like Paint Shop Pro here), not a stupid hex editor.Well thats all I could think of, to see the bitmap data. Carry on.
Quote from: zedd151 on November 22, 2024, 08:10:32 AMQuote from: NoCforMe on November 22, 2024, 08:09:18 AMOne basic question, though, before I start revamping this code:Personally, I would use a hex editor myself. But you never know about anyone else.
Do you think anyone's actually going to use all this bitmap data?
I'd hate to get this working all nice and perfect but to no practical use.
(The displayed text will be larger than the BMP file)
Quote from: NoCforMe on November 22, 2024, 08:09:18 AMOne basic question, though, before I start revamping this code:Personally, I would use a hex editor myself. But you never know about anyone else.
Do you think anyone's actually going to use all this bitmap data?
I'd hate to get this working all nice and perfect but to no practical use.
(The displayed text will be larger than the BMP file)