News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests

Main Menu

Patch my code

Started by Magnum, December 01, 2012, 12:37:45 PM

Previous topic - Next topic

Dubby

I can re-assemble qword's pe without any problem. MASM SDK 11 here.

hutch--

qWord's PE example build fine here with masm32 version 11.



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

Assembling: K:\qword_pe\PE.asm

***********
ASCII build
***********

Microsoft (R) Incremental Linker Version 5.12.8078
Copyright (C) Microsoft Corp 1992-1998. All rights reserved.

Volume in drive K is 2tb_k
Volume Serial Number is 88B3-84DA

Directory of K:\qword_pe

12/02/2012  06:33 PM             4,960 PE.asm
12/04/2012  01:58 AM             4,608 PE.exe
12/04/2012  01:58 AM             4,514 PE.obj
               3 File(s)         14,082 bytes
               0 Dir(s)  972,622,176,256 bytes free
Press any key to continue . . .


Hmmmm, slightly later, it builds fine but the file open dialog does not display and it always returns with,


no file selected
Press any key to continue ...


Its after 2am so I might have a look at it tomorrow.  :P

qWord

Quote from: hutch-- on December 04, 2012, 01:58:21 AMHmmmm, slightly later, it builds fine but the file open dialog does not display and it always returns with,


no file selected
Press any key to continue ...

Strange, I've also test it with WinXP and it does work.
Anyone has the same problem?
MREAL macros - when you need floating point arithmetic while assembling!

dedndave

if i build it with masm32 v10, i get the exact same errors as Heather...
pe.asm(131) : error A2008: syntax error : &
fn(5): Macro Called From
  pe.asm(131): Main Line Code
pe.asm(144) : error A2008: syntax error : &
rv(5): Macro Called From
  pe.asm(144): Main Line Code
pe.asm(145) : error A2008: syntax error
pe.asm(146) : error A2008: syntax error : cbSize
pe.asm(147) : error A2008: syntax error
pe.asm(158) : fatal error A1011: directive must be in control block


if i build with masm32 v11, no problem

something tells me that Heather is not using the latest version of the masm32 sdk  :biggrin:

hfheatherfox07

My Sincere apologies qWord  :(
dedndave is right !.... I was using MASM10 I forgot I switched folders .... I was working on something that I needed Kernel32.inc and Kernel32.lib from version 10

Sorry ....
Your example works
Your code and your skills will be assimilated. Your programming language is irrelevant.
We are the ASM Borg and you will become part of us. Compile and be assembled.

dedndave

Quote from: hfheatherfox07 on December 04, 2012, 06:29:24 AM
dedndave is right !....

that's the first time, this week   :lol:

hfheatherfox07

Quote from: qWord on December 04, 2012, 03:09:25 AM
Quote from: hutch-- on December 04, 2012, 01:58:21 AMHmmmm, slightly later, it builds fine but the file open dialog does not display and it always returns with,


no file selected
Press any key to continue ...

Strange, I've also test it with WinXP and it does work.
Anyone has the same problem?

It does the same thing here ....you have to click on it a few times ...and sometimes it just works
I have service pack 2 on my xp ...if that makes a difference
Your code and your skills will be assimilated. Your programming language is irrelevant.
We are the ASM Borg and you will become part of us. Compile and be assembled.

hfheatherfox07

I am assuming it has something to do with the way it handles the file name ....
You get this in the file name box before you select ... always different characters too
p¼§

Your code and your skills will be assimilated. Your programming language is irrelevant.
We are the ASM Borg and you will become part of us. Compile and be assembled.

qWord

Quote from: hfheatherfox07 on December 04, 2012, 07:18:48 AM
I am assuming it has something to do with the way it handles the file name ....
You get this in the file name box before you select ... always different characters too
p¼§
yep, I simply forget to write a termination zero in the buffer pointed by OPENFILENAME.lpstrFile.
MREAL macros - when you need floating point arithmetic while assembling!

hfheatherfox07

Quote from: qWord on December 04, 2012, 07:33:10 AM
Quote from: hfheatherfox07 on December 04, 2012, 07:18:48 AM
I am assuming it has something to do with the way it handles the file name ....
You get this in the file name box before you select ... always different characters too
p¼§
yep, I simply forget to write a termination zero in the buffer pointed by OPENFILENAME.lpstrFile.

Works %100 here  :t
Your code and your skills will be assimilated. Your programming language is irrelevant.
We are the ASM Borg and you will become part of us. Compile and be assembled.

Magnum

Take care,
                   Andy

Ubuntu-mate-18.04-desktop-amd64

http://www.goodnewsnetwork.org

hutch--

Yep, works fine here. I don't claim to be coherant at 2am.  :biggrin: