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 ?:)
Posted on 2002-07-20 19:16:39 by The SharK
w32.inc is a TASM include. The source won't compile under masm w/o some changes.
Posted on 2002-07-20 22:55:40 by grv575
What's to be changed in the file, to make it assemble with masm32 ?:)
Posted on 2002-07-21 03:25:03 by The SharK
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
Posted on 2002-07-21 04:59:39 by MArtial_Code
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
Posted on 2002-07-21 05:45:00 by NOP-erator
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 .... :)
Posted on 2002-07-21 09:33:18 by The SharK
oh, ok, ic! good luck!

bye
Posted on 2002-07-21 09:35:15 by NOP-erator
SharK,

My winrar keeps saying it is a broken zip file.

Regards,

hutch@movsd.com
Posted on 2002-07-21 09:56:40 by hutch--
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.:)
Posted on 2002-07-21 10:02:08 by The SharK

SharK,

My winrar keeps saying it is a broken zip file.

Regards,

hutch@movsd.com

it opens fine here, using WinRAR 2.90
Posted on 2002-07-21 10:04:16 by savage
Here is a working MASM version.

Regards,

hutch@movsd.com
Posted on 2002-07-21 10:57:30 by hutch--
Thanks Hutch !

It's nice to have this forum, and people who are willing
to help each other :alright: :alright: :alright: :grin:
Posted on 2002-07-21 11:34:42 by The SharK
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" ;)
Posted on 2002-07-21 12:13:47 by bazik
Shhhhhh,

Its a secret.

Regards,

hutch@movsd.com
Posted on 2002-07-21 13:11:41 by hutch--
Hutch just "modified it":tongue:
Posted on 2002-07-21 14:12:06 by The SharK