Hi,

yesterday i upped the RadASM version, today the WinASM version follows ;)
The file contains:
- MasmApiCall.vaa (added OpenGL functions gl... & glu...)
- a template to create dialogbox based OpenGL applications
- dialogbox based example of NeHe OpenGL lesson 02 (created with template above)

The files inside the Zip are stored in WinASM folder style.

Regards,
Pegasus
Posted on 2004-02-20 03:05:11 by cu.Pegasus
cant compile



D:\code\WinAsm\gl\Code.asm(48) : error A2006: undefined symbol : PFD_DRAW_TO_WINDOW
D:\code\WinAsm\gl\Code.asm(49) : error A2006: undefined symbol : PFD_TYPE_RGBA
D:\code\WinAsm\gl\Code.asm(52) : error A2006: undefined symbol : PFD_MAIN_PLANE



hm? I need some other include file?
Posted on 2004-02-20 03:31:56 by Azrim
Hi cu.Pegasus

Tx for this package but same prb here, cannot compil :(
Posted on 2004-02-20 04:06:13 by PhoBos
Hi,

It didn't assemble for me either. After a little googling:

PFD_DRAW_TO_WINDOW equ 4h
PFD_SUPPORT_OPENGL equ 20h
PFD_DOUBLEBUFFER equ 1h
PFD_TYPE_RGBA equ 0
PFD_MAIN_PLANE equ 0

everything is ok.

Thanks cu.Pegasus. Very nice. I 'll upload it to my site soon.

Regards,

akyprian
Posted on 2004-02-20 05:08:18 by akyprian
Ups...
I assumed that you've installed the latest Windows.INC for MASM..
If not, grap it from masmform.com

regards,
Pegasus
Posted on 2004-02-20 07:04:47 by cu.Pegasus