Cannot build JWASM examples

Started by TmX, November 15, 2010, 01:07:03 PM

Previous topic - Next topic

TmX

I tried to build the "About" project, and these are the errors:
Quotegorc /v "About.rc"

GoRC.Exe Version 0.90.4 - Copyright Jeremy Gordon 1998/2009 - JG@JGnet.co.uk
Output file: About.res
Output file: About.obj format: win32

jwasm /c /coff /Cp "About.Asm"
JWasm v2.05pre, Nov 15 2010, Masm-compatible assembler.
Portions Copyright (c) 1992-2002 Sybase, Inc. All Rights Reserved.
Source code is available under the Sybase Open Watcom Public License.

About.Asm(11) : Error A2164: INVOKE requires prototype for procedure
About.Asm(14) : Error A2164: INVOKE requires prototype for procedure
About.Asm(15) : Error A2164: INVOKE requires prototype for procedure
About.Asm(44) : Error A2164: INVOKE requires prototype for procedure
About.Asm(48) : Error A2164: INVOKE requires prototype for procedure
About.Asm: 58 lines, 1 passes, 93 ms, 0 warnings, 5 errors

Error(s) occured.

Is that because I set the INCLUDE and LIB dirs to point to MASM32's?  :red

KetilO

Hi TmX

No, in the upload the following lines has been commented out:

;include kernel32.inc
;include user32.inc
;include Comctl32.inc
;include shell32.inc

Uncomment them and it should work.

Ketilo

TmX