Current progress on updating windows.inc

Started by hutch--, July 14, 2007, 11:14:29 AM

Previous topic - Next topic

hutch--

Gratsie,

The latest I had was server 2003.  :U
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php

asmfan

Steve,
i think it would be a good idea to have one pinned thread in this section of forum with latest (stable, beta, tetta or whatever versions) links on splitted and monolith versions of windows.inc. Thanks.
Russia is a weird place

hutch--

Igor,

Try the new 2 file version. I added about 400k of equates but the file went over the line count that early versions of ML.EXE could handle. The 2 file solution seems to be without problems and I need the testing and feedback.
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php

asmfan

Ok, the first of all i use standalone ml & link and includes and my handwritten bat files to compile all this stuff.
i used one of my old projects. the following lines were included on top of project and nothing else were included and defined inside the monolith asm file.

.586
.model  flat,stdcall

includelib      kernel32.lib
includelib      user32.lib

;include windows2.inc   ; monolith - merged 2 files
include windows.inc
include winextra.inc

extrn   _imp__ExitProcess@4:dword
; ... other externs and code & data itself

After compiling i got the following
Bat-file
Quote
@echo   off

SET   PROJECT=1
SET   RESOURCE=rsrc
SET   PATH=Bin

%PATH%\ml.exe /c /coff /Cp /Fl /Sa /Sc      %PROJECT%.asm > bugrep.txt
result

Microsoft (R) Macro Assembler Version 7.00.9466
Copyright (C) Microsoft Corporation.  All rights reserved.

Assembling: 1.asm
winextra.inc(59) : error A2163: non-benign structure redefinition: incorrect initializers : NMMOUSE
winextra.inc(62) : error A2163: non-benign structure redefinition: incorrect initializers : NMMOUSE
winextra.inc(3057) : error A2163: non-benign structure redefinition: incorrect initializers : CY
winextra.inc(3058) : error A2163: non-benign structure redefinition: incorrect initializers : CY
winextra.inc(3060) : error A2163: non-benign structure redefinition: incorrect initializers : CY
winextra.inc(3061) : error A2163: non-benign structure redefinition: incorrect initializers : CY
winextra.inc(3151) : error A2163: non-benign structure redefinition: incorrect initializers : UPV
winextra.inc(3153) : error A2163: non-benign structure redefinition: incorrect initializers : UPV
winextra.inc(3155) : error A2163: non-benign structure redefinition: incorrect initializers : UPV
winextra.inc(3158) : error A2163: non-benign structure redefinition: incorrect initializers : UPV
winextra.inc(3159) : error A2163: non-benign structure redefinition: incorrect initializers : UPV
winextra.inc(3160) : error A2163: non-benign structure redefinition: incorrect initializers : UPV
winextra.inc(3161) : error A2163: non-benign structure redefinition: incorrect initializers : UPV
winextra.inc(3162) : error A2163: non-benign structure redefinition: incorrect initializers : UPV
winextra.inc(3163) : error A2163: non-benign structure redefinition: incorrect initializers : UPV
winextra.inc(3164) : error A2163: non-benign structure redefinition: incorrect initializers : UPV
winextra.inc(3165) : error A2163: non-benign structure redefinition: incorrect initializers : UPV
winextra.inc(3166) : error A2163: non-benign structure redefinition: incorrect initializers : UPV
winextra.inc(3167) : error A2163: non-benign structure redefinition: incorrect initializers : UPV
winextra.inc(3168) : error A2163: non-benign structure redefinition: incorrect initializers : UPV
winextra.inc(3169) : error A2163: non-benign structure redefinition: incorrect initializers : UPV
winextra.inc(3170) : error A2163: non-benign structure redefinition: incorrect initializers : UPV
winextra.inc(3178) : error A2163: non-benign structure redefinition: incorrect initializers : SPropValue
winextra.inc(3189) : error A2163: non-benign structure redefinition: incorrect initializers : SPropProblemArray
winextra.inc(3222) : error A2163: non-benign structure redefinition: incorrect initializers : ADRLIST
winextra.inc(3233) : error A2163: non-benign structure redefinition: incorrect initializers : SRowSet
winextra.inc(3278) : error A2163: non-benign structure redefinition: incorrect initializers : TABLE_NOTIFICATION
winextra.inc(3279) : error A2163: non-benign structure redefinition: incorrect initializers : TABLE_NOTIFICATION
winextra.inc(3280) : error A2163: non-benign structure redefinition: incorrect initializers : TABLE_NOTIFICATION
winextra.inc(3301) : error A2163: non-benign structure redefinition: incorrect initializers : NOTIFICATION
winextra.inc(3302) : error A2163: non-benign structure redefinition: incorrect initializers : NOTIFICATION
winextra.inc(3303) : error A2163: non-benign structure redefinition: incorrect initializers : NOTIFICATION
winextra.inc(3304) : error A2163: non-benign structure redefinition: incorrect initializers : NOTIFICATION
winextra.inc(3304) : fatal error A1016: Internal Assembler Error


[ADDED]
While assembling only with 1st part:

include windows.inc
;include winextra.inc

I got the correct result - working exe.
Russia is a weird place

MichaelW

eschew obfuscation

asmfan

Yep, my fault - didn't noticed the

include winextra.inc

at the bottom of windows.inc
I behave as if lamer which need the extra support information  :bg
Russia is a weird place

hutch--

Igor,

I should have explained that only the first file should be called as it is important that the two files are used in the same way as the original single file so that no-one has any broken code problems.
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php