Hi I was wondering whether there is a difference between MASM Version used in 2005 and MASM10, which version was that , and can I get a copy....
What I mean Is would I get an error trying to assemble a program with this includes, and lib's from 2005 compare with MASM10
include windows.inc
include gdi32.inc
include user32.inc
include kernel32.inc
include Comctl32.inc
include masm32.inc
include ole32.inc
include oleaut32.inc
include advapi32.inc
includelib gdi32.lib
includelib user32.lib
includelib kernel32.lib
includelib Comctl32.lib
includelib masm32.lib
includelib ole32.lib
includelib oleaut32.lib
includelib advapi32.lib
The author of this Program does not wish for some one to redistribute it so I wont post all my tries but , I am having trouble with "unies", just wont work, I modified it , it runs but still wont uninstall....
I tried all 3 revision r2,r3,and r4
http://code.google.com/p/eis/source/browse/trunk/?r=2
http://code.google.com/p/eis/source/browse/trunk/?r=3
http://code.google.com/p/eis/source/browse/trunk/?r=4
Thank You
include \MASM32\INCLUDE\kernel32.inc
includelib \MASM32\LIB\user32.lib
ECHO OFF
COLOR 9F
CLS
cd /d %~dp1
C:\masm32\bin\ml.exe /c /coff "%~1"
C:\masm32\bin\link.exe /subsystem:windows "%~n1.obj"
del "%~n1.obj"
pause
the difference between masm9 and masm10 exists. still use one of it to exclude confusion
Is that what masm 2005 is MASM9 ? I thought it was older....
I know that imagehlp.inc in MASM9 was used for MapFileAndCheckSum... so if you are doing that you need it ...but I dont know about the rest?
for masm10 I download ImageHlp from internet
put it in \MASM32\LIB\
Quote from: bomz on July 04, 2011, 11:52:59 PM
for masm10 I download ImageHlp from internet
put it in \MASM32\LIB\
I already have It thanks....needed it for MapFileAndCheckSum project, I meant I knew that was 1 difference between MASM9 and MASM10 I was wundering about MASM that was used in 2005 what version was it ? and were there differences that would cause errors with these includes and lib;s :
include windows.inc
include gdi32.inc
include user32.inc
include kernel32.inc
include Comctl32.inc
include masm32.inc
include ole32.inc
include oleaut32.inc
include advapi32.inc
includelib gdi32.lib
includelib user32.lib
includelib kernel32.lib
includelib Comctl32.lib
includelib masm32.lib
includelib ole32.lib
includelib oleaut32.lib
includelib advapi32.lib
Hutch would know
What errors are you getting? The include files should have nothing to do with MASM 1,2,3 etc... they are only a bunch of structures, equates, protos etc... Without knowing the errors you are getting it is hard to tell the problem..
Quote from: Gunner on July 05, 2011, 12:27:14 AM
What errors are you getting? The include files should have nothing to do with MASM 1,2,3 etc... they are only a bunch of structures, equates, protos etc... Without knowing the errors you are getting it is hard to tell the problem..
Right here in line 79
http://code.google.com/p/eis/source/browse/trunk/uneis/uneis.asm?r=4
I changed :
LOCAL PropHdr:PROPSHEETHEADER
To:
LOCAL PropHdr:PROPSHEETHEADERA
( if I recall off the top of my head)
And it works, but no unistall....
http://eis.googlecode.com/svn-history/r4/trunk/_DISTRIBUTE/eissrc1301.RAR
assemble it and see
Wow I actually found it , if I am not wrong it was masm611
and you can still download it ..... I will try it tonight LOL for fun :lol
VC 6.0 (1998) used MASM 6.0, VC 2002 used MASM 7.0, VC 2003 used MASM 7.1, VC 2005 used MASM 8.0, VC 2008 used MASM 9.0 and VC 2010 used MASM 10.0.
Various updates changed 6.0 to 6.1, 6.11, 6.12, 6.13, 6.14 and 6.15.
Quote from: GregL on July 06, 2011, 02:44:55 AM
VC 6.0 (1998) used MASM 6.0, VC 2002 used MASM 7.0, VC 2003 used MASM 7.1, VC 2005 used MASM 8.0, VC 2008 used MASM 9.0 and VC 2010 used MASM 10.0.
Various updates changed 6.0 to 6.1, 6.12, 6.13, 6.14 and 6.15.
Thank you .....So much
P.S
I still found a working masm611 download .... how cool
i have to think that PROPSHEETHEADER is not defined as a structure
the syntax looks fine and should assemble regardless of the version
well - maybe the rules for defining structures have changed :P
In 2005 version 8 was in use, it is apparently still available for download from Microsoft:
http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=12654
Quote from: donkey on July 06, 2011, 11:44:39 AM
In 2005 version 8 was in use, it is apparently still available for download from Microsoft:
http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=12654
there are still links to MASMv8 from Hutch
Quote from: dedndave on July 06, 2011, 03:34:06 AM
i have to think that PROPSHEETHEADER is not defined as a structure
the syntax looks fine and should assemble regardless of the version
well - maybe the rules for defining structures have changed :P
I have MASMv8 and I tried it...apparently that makes a difference ..."PROPSHEETHEADER" does not work with MASMv9 or 10 ...you need "PROPSHEETHEADERA"
however when I assembled it with MASMv8 "PROPSHEETHEADER" works.... I had the same problem with "ws_fprintf" and "ws_fprintfA" ...wsprintfA ::)
Without an equate to PROPSHEETHEADERA, that AFAIK the MASM32 windows.inc has never included, PROPSHEETHEADER should not work, regardless of the MASM version.
Quote from: MichaelW on July 07, 2011, 01:29:47 AM
Without an equate to PROPSHEETHEADERA, that AFAIK the MASM32 windows.inc has never included, PROPSHEETHEADER should not work, regardless of the MASM version.
It seems to....?????
the structure is defined in windows.inc
PROPSHEETHEADERA STRUCT
dwSize DWORD ?
dwFlags DWORD ?
hwndParent DWORD ?
hInstance DWORD ?
union
hIcon DWORD ?
pszIcon DWORD ?
ends
pszCaption DWORD ?
nPages DWORD ?
union
nStartPage DWORD ?
pStartPage DWORD ?
ends
union
ppsp DWORD ?
phpage DWORD ?
ends
pfnCallback DWORD ?
union
hbmWatermark DWORD ?
pszbmWatermark DWORD ?
ends
hplWatermark DWORD ?
union
hbmHeader DWORD ?
pszbmHeader DWORD ?
ends
PROPSHEETHEADERA ENDS
i don't find PROPSHEETHEADER
you are somehow changing more than the MASM version :P
Look down after PROPSHEETHEADERA ENDS
you should see:
PROPSHEETHEADER equ <PROPSHEETHEADERA>
LPPROPSHEETHEADER equ <LPPROPSHEETHEADERA>
LPCPROPSHEETHEADER equ <LPCPROPSHEETHEADERA>
PROPSHEETHEADER_V1_SIZE equ <PROPSHEETHEADERA_V1_SIZE>
PSCB_INITIALIZED equ 1
PSCB_PRECREATE equ 2
CreatePropertySheetPage equ <CreatePropertySheetPageA>
PropertySheet equ <PropertySheetA>
That is in MASMv8 VS MASMv9 and 10
I would upload the MASMv8 that I have but I don't know if that would upset Hutch ::)
What do you mean by MASMv8? The windows.inc that you posted is a MASM32 include file that was included with some older version of MASM32 package. Now that I check the equate is present in the oldest version that I have installed, the 1.28 release apparently from 2005, but not in the later versions.
Quote from: MichaelW on July 07, 2011, 08:32:12 PM
What do you mean by MASMv8? The windows.inc that you posted is a MASM32 include file that was included with some older version of MASM32 package. The equate is present in the oldest version that I have installed, the 1.28 release apparently from 2005, but not in the later versions.
Yes ...my original question was that I found a source compiled in 2005 and it would not work with the MASMv10....that it exactly it!
:P
ok
this has nothing to do with the masm version
it has to do with the windows.inc file
masm does not come with a windows.inc file :P
the EQUate should probably be there, but seems to be missing from the most recent one in the masm32 package