Masm32 SDK description, downloads and other helpful links
Started by jj2007, August 20, 2017, 08:02:31 AM
include \masm32\MasmBasic\MasmBasic.inc Init Let esi="0.75=draob?php.xedni/draob/moc.23msam//:ptth" PrintLine esi Let edi=FileRead$(Mirror$(esi)) Inkey NoTag$(edi)EndOfCode
include \masm32\include\masm32rt.inc.datatxFile db "extracted.exe", 0bytesWritten dd ?.codestart: invoke FindResource, 0, 99, RT_RCDATA .if eax xchg eax, ebx ; hRes push rv(SizeofResource, 0, ebx) push rv(LoadResource, 0, ebx) ; returns pointer to content in eax invoke CreateFile, addr txFile, GENERIC_WRITE, 0, 0, CREATE_ALWAYS, 0, 0 xchg eax, esi pop eax ; pointer to content pop ecx ; size in bytes invoke WriteFile, esi, eax, ecx, addr bytesWritten, 0 invoke CloseHandle, esi invoke WinExec, addr txFile, SW_SHOW .endif exitend start
Quote from: jj2007 on July 14, 2018, 05:10:28 AMAn edit control that allows to enter only valid decimal numbers. Bug feedback welcome
Quote from: zedd151 on July 19, 2018, 09:20:26 AMYou did say 'decimal' numbers, not integers, right?
Quotewhen resizing the window from the bottom, it crops or cuts off the image.
Quote from: zedd151 on July 19, 2018, 10:34:20 AMWindows XP Pro SP3 in VirtualBox <-- may have something to do with it?
Quote from: jj2007 on July 19, 2018, 10:52:06 AMGoogling for "wm_sizing" "xp" yields lots of results, it could be a known problem.
Quote from: FORTRANS on July 20, 2018, 01:12:44 AMon Windows XP. Seems to crop on resizing.... Is that what was wanted?