News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

DirectX 9c include files

Started by lonewolff, March 13, 2009, 10:19:33 AM

Previous topic - Next topic

lonewolff

Does anyone know where I might be able to find d3d9.inc (if there is such a beast)?

I would love to have a crack at programming something under DirectX 9c in assembly  :bg

Thanks in advance.

herge

 Hi lonewolf:

JWASM (http://www.japheth.de/JWasm.html)
It's got something to do with win32inc I think.


Regards herge
// Herge born  Brussels, Belgium May 22, 1907
// Died March 3, 1983
// Cartoonist of Tintin and Snowy

ToutEnMasm

Hello,
To find this,you are at the right place
http://www.masm32.com/board/index.php?topic=8040.msg58816#msg58816
I am the beast  :lol that translate it , search translator and you can deal with the directx SDK that can be downloaded for free.
You have to deal also with names of functions incompatibles with masm in the msvcrt.lib,just load them dynamically (using the library and the dynamic call is possible).



Demi

Hi Lonewolf,

I been working on a project for awhile and dealing with directx.  One of issues you will run into is most of directx deals with virtual function calls. The methods used to access the library and make calls  in my eyes is not right but then everyone has their own way of programming in ASM. I made a tool that makes getting the virtual function calls without all the hassle of loading a library and passing calls. The tool I made is very rough and still has bugs  but I''ll throw in the source code so you or anyone else can fix it. It works for me so I never went past initial development. The tools doe not read and process new compiler headers and even H2INCX can't phrase them but you can hand edit the virtual function definitions and still extract the macros.

   I'll throw in an example ASM file that is a rework of the Directx Tutorial and the finished product so you can see it works. Get H2INCX. My little tool is complement to H2INCX.

D

[attachment deleted by admin]

UtillMasm

Microsoft (R) Macro Assembler Version 6.14.8444
Copyright (C) Microsoft Corp 1981-1997.  All rights reserved.

Assembling: vertices.asm
d3d9.inc(24) : fatal error A1000: cannot open file : \masm32\gametesting\d3d9typ
es.INC

There has been an error while assembling this project.

Press any key to continue . . .
===================
hehe  :bg

Demi

Quote from: UtillMasm on March 21, 2009, 05:33:55 AM
Microsoft (R) Macro Assembler Version 6.14.8444
Copyright (C) Microsoft Corp 1981-1997.  All rights reserved.

Assembling: vertices.asm
d3d9.inc(24) : fatal error A1000: cannot open file : \masm32\gametesting\d3d9typ
es.INC

There has been an error while assembling this project.

Press any key to continue . . .
===================
hehe  :bg

D'OH!

Dang I missed a few files and did not edit it my bad. Here is the fixed stuff. Ok anything else missing I will patch it LOL




[attachment deleted by admin]