I can't assemble the file "time.asm".
I have tried some w32.inc files to make it assemble, but
without any luck.
I thougt that I could use windows.inc file instead, but
it's not quite the same "I think" (nor size).
Where do I get a w32.inc file, which will make it assemble ?:)
I have tried some w32.inc files to make it assemble, but
without any luck.
I thougt that I could use windows.inc file instead, but
it's not quite the same "I think" (nor size).
Where do I get a w32.inc file, which will make it assemble ?:)
w32.inc is a TASM include. The source won't compile under masm w/o some changes.
What's to be changed in the file, to make it assemble with masm32 ?:)
ShaRK:
you need to change lines with
call function,param1,param2,etc
to either
invoke function,pram1,param2
OR
push param2
push param1
call function
eg change:
call GetModuleHandle, NULL
to : invoke GetModuleHandle, NULL
OR
push NULL
call GetModuleHandle
include the windows.inc which comes with mam32
remove the line: Extrn _wsprintfA : near
and change _wsprintfA to wsprintf
that should get the program compiling under masm
you need to change lines with
call function,param1,param2,etc
to either
invoke function,pram1,param2
OR
push param2
push param1
call function
eg change:
call GetModuleHandle, NULL
to : invoke GetModuleHandle, NULL
OR
push NULL
call GetModuleHandle
include the windows.inc which comes with mam32
remove the line: Extrn _wsprintfA : near
and change _wsprintfA to wsprintf
that should get the program compiling under masm
I thougt that I could use windows.inc file instead, but it's not quite the same "I think" (nor size).
i think it is much more up to date! you should use windows.inc when you try to compile with masm..
bye
Hi NOP-erator
You see, I have tried with masm32 and windows.inc, but in the
sourcecode of the file, it uses w32.inc, and I thought that I could
use the windows.inc instead....
But now it shows up, that the code is for the TASM assembler, so
I have to rewrite it to make it compile with masm32.
By the way, long time no hear .... :)
You see, I have tried with masm32 and windows.inc, but in the
sourcecode of the file, it uses w32.inc, and I thought that I could
use the windows.inc instead....
But now it shows up, that the code is for the TASM assembler, so
I have to rewrite it to make it compile with masm32.
By the way, long time no hear .... :)
oh, ok, ic! good luck!
bye
bye
Hi hutch !
It's originally a .rar file, that I changed to a .zip (it worked for me).
But the file is on Iczelions homepage, which I have attached.:)
It's originally a .rar file, that I changed to a .zip (it worked for me).
But the file is on Iczelions homepage, which I have attached.:)
it opens fine here, using WinRAR 2.90
Thanks Hutch !
It's nice to have this forum, and people who are willing
to help each other :alright: :alright: :alright: :grin:
It's nice to have this forum, and people who are willing
to help each other :alright: :alright: :alright: :grin:
WOW!
Hutch broke the holly rule and wrote code for someone else!
I still have in mind how you said "I don't write code for others" ;)
Hutch broke the holly rule and wrote code for someone else!
I still have in mind how you said "I don't write code for others" ;)
Hutch just "modified it":tongue: