-
Notifications
You must be signed in to change notification settings - Fork 17
Manually Building
The ModernUI Library and ModernUI Controls come with a RadASM project to help build the sources. However if you wish to build them manually here are the command line options you should use.
The ModernUI Library source consists of a number of individual files and some files which group similar functions together:
ModernUI.inc
_ModernUI_Base.asm
_ModernUI_GDIDoubleBuffer.asm
_ModernUI_GDIPlus.asm
_ModernUI_GDIPlusDoubleBuffer.asm
_ModernUI_Memory.asm
ModernUI_DPI.asm
MUIAllocStructureMemory.asm
MUIApplyToDialog.asm
MUICenterWindow.asm
MUICreateBitmapFromMemory.asm
MUICreateCursorFromMemory.asm
MUICreateIconFromMemory.asm
MUIGDIBlend.asm
MUIGDIBlendBitmaps.asm
MUIGDIPaintFill.asm
MUIGDIPaintFrame.asm
MUIGDIPlusPaintFill.asm
MUIGDIPlusPaintFrame.asm
MUIGDIPlusRectToGdipRect.asm
MUIGDIPlusRotateCenterImage.asm
MUIGDIRotateBitmap.asm
MUIGDIStretchBitmap.asm
MUIGDIStretchImage.asm
MUIGetImageSize.asm
MUIGetImageSizeEx.asm
MUIGetParentBackgroundBitmap.asm
MUIGetParentBackgroundColor.asm
MUIGetParentRelativeWindowRect.asm
MUILoadBitmapFromResource.asm
MUILoadIconFromResource.asm
MUILoadImageFromResource.asm
MUILoadPngFromResource.asm
MUILoadRegionFromResource.asm
MUIPaintBackground.asm
MUIPaintBackgroundImage.asm
MUIPointSizeToLogicalUnit.asm
MUISetRegionFromResource.asm
Building with Microsoft MASM (ML.EXE
):
ML.EXE /c /coff /Cp /nologo /I"X:\MASM32\Include" *.asm
X: is the drive letter where your MASM32 SDK includes files are located, replace with the appropriate drive letter for your installation, or modify the path for your installed location.
Linking with Microsoft Library Manager (LIB.EXE
):
LIB *.obj /out:ModernUI.lib
Each ModernUI Control consists of two files:
ModernUI_Control.inc
ModernUI_Control.asm
Building with Microsoft MASM (ML.EXE
):
ML.EXE /c /coff /Cp /nologo /I"X:\MASM32\Include" ModernUI_Control.asm
X: is the drive letter where your MASM32 SDK includes files are located, replace with the appropriate drive letter for your installation, or modify the path for your installed location.
Linking with Microsoft Library Manager (LIB.EXE
):
LIB *.obj /out:ModernUI_Control.lib
To build the ModernUI Library and/or a ModernUI Control with debug information, supply the additional flag options /Zi /Zd
on the command line for MASM (ML.EXE
) like so:
ML.EXE /c /coff /Cp /Zi /Zd /nologo /I"X:\MASM32\Include" *.asm
ML.EXE /c /coff /Cp /Zi /Zd /nologo /I"X:\MASM32\Include" ModernUI_Control.asm
X: is the drive letter where your MASM32 SDK includes files are located, replace with the appropriate drive letter for your installation, or modify the path for your installed location.