just a small question.
im using masm32 package from Iczelion
i compile some source file in masm32 and it adds a wsprintfA api to the exectuable. wtf is up with that ?
Heres another question, im getting padded with an int3 at the end of my code section without personally putting it there. this is also something to do with the wsprintfA. here is the code:
.386
.model flat, stdcall
option casemap:none
include \masm32\include\windows.inc
include \masm32\include\user32.inc
includelib \masm32\lib\user32.lib
.code
start:
ret
end start
if you replace any include file, or take one out, it wont work.
also if you leave an empty code section it wont work.
like this or with more code and includes, should leave you with a cc at the end of your code section, and a call to wsprintfA which hutch already explained below.
im using masm32 package from Iczelion
i compile some source file in masm32 and it adds a wsprintfA api to the exectuable. wtf is up with that ?
Heres another question, im getting padded with an int3 at the end of my code section without personally putting it there. this is also something to do with the wsprintfA. here is the code:
.386
.model flat, stdcall
option casemap:none
include \masm32\include\windows.inc
include \masm32\include\user32.inc
includelib \masm32\lib\user32.lib
.code
start:
ret
end start
if you replace any include file, or take one out, it wont work.
also if you leave an empty code section it wont work.
like this or with more code and includes, should leave you with a cc at the end of your code section, and a call to wsprintfA which hutch already explained below.
hi pwn
please include the source u are trying to compile.
it ll be easier to explain ur querry.
thank you
nickdigital
please include the source u are trying to compile.
it ll be easier to explain ur querry.
thank you
nickdigital
for god sakes nickdigital i lost the sourcecode can we go on without it thx.
2 things, MASM32 uses a Microsoft ASSEMBLER, its not a compiler.
The wsprintfA is a leftover from having the API prototyped twice in the include files. If you already have the libraries you want to use, comment out the prototype in the WINDOWS.INC file and you won't get the unused entry.
Alternatively create a set of include files using the L2EXTIA utility which are a different type of prototype and there is no lookup table used for API addresses.
The wsprintfA is a leftover from having the API prototyped twice in the include files. If you already have the libraries you want to use, comment out the prototype in the WINDOWS.INC file and you won't get the unused entry.
Alternatively create a set of include files using the L2EXTIA utility which are a different type of prototype and there is no lookup table used for API addresses.
for god sakes if you dont know anything dont just post useless shit thx.
If you don't know anything about manners and general netiquette, don't post on this forum, ok?
nickdigital just wanted to help. Some people...
Location: Israel
haha, jew with bad manners.
just replying to myself here..
comment out these 2 lines in windows.inc and all is good. thank you, god bless.
; wsprintfA PROTO C :DWORD,:VARARG
; wsprintf equ <wsprintfA>
p.s. drocon: jews own you
comment out these 2 lines in windows.inc and all is good. thank you, god bless.
; wsprintfA PROTO C :DWORD,:VARARG
; wsprintf equ <wsprintfA>
p.s. drocon: jews own you
that goes for you too drocon :roll:
Nationality or applied religion doesn't matter, treat each other with respect, ok?
Nationality or applied religion doesn't matter, treat each other with respect, ok?