Re: masm include-problem
- From: dl <dl2@xxxxxx>
- Date: Fri, 18 May 2012 15:35:10 +0200
steve <blunt.axe.basic@xxxxxxxxx> schrieb:
On May 15, 7:57 pm, dl <d...@xxxxxx> wrote:
And then i geht this errors, when i start assembling:
\masm32\include\windows.inc(156) : error A2004: symbol type conflict : bool
\masm32\include\windows.inc(7835) : error A2179: structure improperly
initialized
Try placing this at the very top of your code:
; code =================
.486
.model flat,stdcall
option casemap:none
include \masm32\include\windows.inc
;....etc
;================= end code
that should fix it.
Thank you for answer. But i did this already. This is my "header":
.386
.model flat, stdcall
option casemap :none
include \masm32\include\windows.inc
include \masm32\include\user32.inc
include \masm32\include\kernel32.inc
includelib \masm32\lib\user32.lib
includelib \masm32\lib\kernel32.lib
I tried from .386 and 4.86: Same result
BTW: Now i work with RadAsm and no longer with VisualStudio and with
qeditor.exe from the masm-package. But same Problems.
What i want is this: I will learn to modify programs (not for criminal
puposes. It's just technical fascination)
My method is this: I program small simple Programs in C (ANSI; because
at the beginning the resulted exe-file has to be very small and simple).
Then i disassemble the exe and try to re-assemble it. I try this
disassemblers: objconv and IDAProFree50.
Of course, although you can save with objconv a masm-compatible
asm-file, you have to change many things in this file, before the
assembler will accept it.
And here are the problems. The sourcecode i am talking about is the
result of a disassembler.
The success depends from the exe-file. A very small program i was able
to re-assemble without any problem.
I am a beginner in asm. And so this problems are normal ;-)
--
Greetings
.
- References:
- masm include-problem
- From: dl
- Re: masm include-problem
- From: steve
- masm include-problem
- Prev by Date: Re: masm-problem2 (with vsexpress2010)
- Next by Date: sym value zero is useless?
- Previous by thread: Re: masm include-problem
- Next by thread: masm-problem2 (with vsexpress2010)
- Index(es):
Relevant Pages
|