News:

Masm32 SDK description, downloads and other helpful links

Main Menu

MasmBasic

Started by jj2007, May 23, 2012, 10:16:07 PM

Previous topic - Next topic

jj2007

Quote from: 2B||!2B on September 10, 2023, 11:32:07 AMNice looking rounded buttons. Do you use GDI+ or D2D?

Thanks. It's Gdi+

jj2007

MasmBasic & RichMasm were updated: Now most if not all sources in...

\Masm32\Examples
\Masm64\Examples

... will assemble & link out of the box just by hitting F6 in RichMasm. No individual batch file is needed, since the IDE will autodetect if a) resources are needed and b) if it's a console or GUI application.

Please let me know if you find an example does not build flawlessly. Actually, I found one: \Masm64\Examples\Advanced\tEdit\tEdit.asm needs an OPT_Assembler ml64 to build properly, in a comment or at the end of the source (Hutch put the masm64rt.ìnc in an include file instead of the main source...).

Plus minor improvements, such as the icon option for static controls (project attached, it's just two tiny files):

GuiParas equ "Hello Ida", w104, h222, b BlueGreen, style 0, icon Butterfly    ; width+height, background colour, icon for caption
include \masm32\MasmBasic\Res\MbGui.asm
  GuiControl MyStatic, "static",  icon IDI_APPLICATION
GuiEnd
Rsrc
#include "resource.h"
01 RT_MANIFEST    "\\Masm32\\MasmBasic\\Res\\XpManifest.xml"
IDI_APPLICATION ICON        "Ida.ico"
Rsrc

You may note that in RichMasm, the resources can be integrated into the main source. This is often handy, as you can edit quickly e.g. a resource ID in both the asm and the rc file without opening two files. When hitting the build button F6, the section between the two Rsrc lines gets exported to [filename].rc before the assembly starts.

mstram

I just installed this on the sdk from http://masm32.masmcode.com/masm32/masm32v11r.zip (had to use Edge and bypass the "can't be downloaded securely).

When I click on File / Build and run get :

\masm32\bin\UAsm32' is not recognized as an internal or external command,
operable program or batch file.
*** Assembly error ***

jj2007

Hi mstram,

Check https://www.terraspace.co.uk/uasm.html#p2

There are UAsm64.exe and UAsm32.exe. Are you using a 32-bit version of Windows?

mstram