News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

MASM32 Version 10 BETA.

Started by hutch--, January 11, 2008, 10:11:29 PM

Previous topic - Next topic

hutch--

I have been nitpicking at the beta for the last couple of months and I am running out of things to do to it. There is a known errata thanks to JimG where I have misspelt a word in the help files but there does not appear to be much else.

This version has POASM included whch is an important addition to the project and it has a matching compatible WINDOWS.INC that both MASM and POASM use. The 16 bit Microsoft linker is icluded for people who have some need to build 16 bit applications. All of the binaries have been rebuilt so they are DEP safe and with thanks to Microsoft for releasing Vista without winhelp support, the main help files have been converted to CHM format so they will run on Vista.

The QE and VKDEBUG help files have not yet been coverted to CHM yet. Windows.inc is a much larger file that is now split into two files to avoid a limit in MASM of the number of lines for an include file. here are additional examples including some simpler POASM examples that build from the supplied batch files. The project contains the latest version of Ray Filiatreault's FP library and had a new addition af an extensie date / time library writen by Greg Lyons.

I need some reliable testing done by people who have properly configured computers and actually know what they are doing. Correctness testing, anything that is not working correctly, anything missing etc ....

I would like to be able to relase this version reasonably soon as the DEP problem for inexperienced users has not been an easy one to solve with the earlier version even though it does work correctly when the OS is configured for non DEP safe binaries.

It wold be very useful for anyone who owns a late enough machine that supports hardware DEP while running Vista to test if the install works correctly.

I would ask this much, I am not interested in redesigns, Nullsoft installers, conceptual changes to .NET or debugging applications that may have problems, I need experienced programmers who know what they are doing to do some testing so that this version can be released.

www.masm32.com/download/beta10e.zip
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php

GregL

hutch,

Thanks. I just installed it on Vista Home Premium, with DEP turned on (my CPU supports hardware DEP). No problems. I'll be trying it out.


Vortex

Installation successfull on my machine with DEP turned on ( CPU supports hardware DEP )
OS : Win XP Pro SP2

Jupiter

WinXP SP2 MCE Eng at Core2 Duo laptop: all is ok
EnJoy!

Adamanteus

 I would remark a little problem :

ifdef UNICODE
         INVOKE GetCommandLineW
else
         INVOKE GetCommandLine
endif

it's in kernel32.inc, but with release of VS 2008 is time to accept UNICODE in runtime.
So could suggest such abbreviation of character type :


ifdef UNICODE
CAP_T         TYPEDEF         WORD         ; символ

For documentation in chm also much thanks  :cheekygreen:

Human

e:\archives\masm32\include\windows.inc(35) : error A2111: conflicting parameter definition
due
wsprintfA PROTO C :VARARG
in masm9 there was
wsprintfA PROTO C :DWORD,:VARARG

next kernel32.inc misses a lot of apis
compare by content in total commander shows 73 differences.
those for example are missing:
AddConsoleAliasA PROTO :DWORD,:DWORD,:DWORD
AddConsoleAlias equ <AddConsoleAliasA>
AddConsoleAliasW PROTO :DWORD,:DWORD,:DWORD
AddLocalAlternateComputerNameA PROTO :DWORD,:DWORD
AddLocalAlternateComputerName equ <AddLocalAlternateComputerNameA>
AddLocalAlternateComputerNameW PROTO :DWORD,:DWORD
AddRefActCtx PROTO :DWORD
AddVectoredContinueHandler PROTO :DWORD,:DWORD
AddVectoredExceptionHandler PROTO :DWORD,:DWORD
and many more

hutch--

wsprintfA isa defined twice in the masm32 project, in windows.inc and with and IFDEF in user32.inc, both are the same and with the IFDEF you cannot have both included, thats what the duplicate guard is for. If you have a conflict you are multiply defining the wsprintfA prototype apart from the main windows.inc include file so the answer is simple, fix it. It is a C VARARG prototype so there is no simple rule for the argument count.

RE the missing prototypes in kernel32.lib, the current version is based off an older version of kernel32. All you need to do to get a current set is pick kernel32.lib out of a Vista, server2003 or XP PLATFORMSDK and run the l2inc.exe tool to get all of the newer ones. Noting that I added over 400k of extra data to windows.inc some months ago, no-one is doing me a favour when they contribute nothing while I work on include files then whinge about it later.

The APPI functions you listed are in the header file wincon.h.
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php

jj2007

Just convinced myself that it was time for a change. www.masm32.com/download/beta10e.zip works like a charm - compliments!

ChrisLeslie

Hi Hutch

This is an annoyance that has been ongoing but caused me to screw up a client binary file last week  ::):
When using qeditor opening binary as HEX, and save with "save" rather than "Save Hex as binary", then the HEX display image is saved instead of the binary. Is it possible that "save" can be inhibited in a future release to stop dummies like me from screwing things up!

Regards

Chris

Jimg

Hutch---

When using PoAsm with your Windows.Inc, can I go by the more liberal Pelle license for PoAsm, or am I bound by the more restrictive Masm32 license?

I asked here because on a search, they are both mentioned in your original post, but apologies if this is not the right place.

hutch--

Jim,.

With POASM you are using Pelle's licence which allows you to do anything with it. If you want to distribute POASM or any of Pelle's tools you have to ask him as I cannot delegate the versions I have permission to distribute.
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php

Jimg

Hi Hutch.  I was just asking about windows.inc, does the license for masm32 apply to windows.inc also?  Or is windows.inc free to use however one wants?

hutch--

Jim,

Because I produce the windows.inc file you are welcome to use it for anything you like but it must not be redistributed.
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php

Jimg

Thank you Hutch, that answers my question.

Just for clarification...  Does this hold true for the rest of the masm32 package excluding the actual Microsoft copyrighted software?  (masm32.lib, macros, etc.)

ToutEnMasm

Hello,
Instal right but,error at link time
couldn't find _lstrlen ......
seem to be one error in the library kernel32.lib