News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

h 2 inc impossible

Started by felipe, April 07, 2018, 01:43:41 PM

Previous topic - Next topic

felipe

 :dazzled: This seems a difficult task. Siekmanski i don't want to bother you, but i have had errors saying all of them relative with the comethods, incorrect syntax.
I have tried other tools too, but i haven't been luck. I don't know if it will be really possible con get includes files for the libs of directx9. Sorry.

felipe


include     \masm32\include\masm32rt.inc

;Siekmanski provided includes:
include     \masm32\include\d3d9.inc
include     \masm32\include\d3d9caps.inc
include     \masm32\include\d3d9types.inc
include     \masm32\include\d3dx9.inc
include     \masm32\include\d3dx9anim.inc
include     \masm32\include\d3dx9core.inc
include     \masm32\include\d3dx9effect.inc
include     \masm32\include\d3dx9math.inc
include     \masm32\include\d3dx9mesh.inc
include     \masm32\include\d3dx9shader.inc
include     \masm32\include\d3dx9shape.inc
include     \masm32\include\d3dx9tex.inc
include     \masm32\include\dsound9.inc
include     \masm32\include\dx9macros.inc
include     \masm32\include\dxfile.inc
include     \masm32\include\LIMITS.INC



.code
start:

        end     start
       


errors:

_vtIDirect3D9(3): Macro Called From
  \masm32\include\d3d9.inc(92): Include File
\masm32\include\d3d9.inc(92) : error A2008: syntax error : comethod4
_vtIDirect3D9(4): Macro Called From
  \masm32\include\d3d9.inc(92): Include File
\masm32\include\d3d9.inc(92) : error A2008: syntax error : comethod3
_vtIDirect3D9(5): Macro Called From
  \masm32\include\d3d9.inc(92): Include File
\masm32\include\d3d9.inc(92) : error A2008: syntax error : comethod5
_vtIDirect3D9(6): Macro Called From
  \masm32\include\d3d9.inc(92): Include File
\masm32\include\d3d9.inc(92) : error A2008: syntax error : comethod3
_vtIDirect3D9(7): Macro Called From
  \masm32\include\d3d9.inc(92): Include File
\masm32\include\d3d9.inc(92) : error A2008: syntax error : comethod6
_vtIDirect3D9(8): Macro Called From
  \masm32\include\d3d9.inc(92): Include File
\masm32\include\d3d9.inc(92) : error A2008: syntax error : comethod7
_vtIDirect3D9(9): Macro Called From
  \masm32\include\d3d9.inc(92): Include File
\masm32\include\d3d9.inc(92) : error A2008: syntax error : comethod7
_vtIDirect3D9(10): Macro Called From
  \masm32\include\d3d9.inc(92): Include File
\masm32\include\d3d9.inc(92) : error A2008: syntax error : comethod6
_vtIDirect3D9(11): Macro Called From
  \masm32\include\d3d9.inc(92): Include File
\masm32\include\d3d9.inc(92) : error A2008: syntax error : comethod5
_vtIDirect3D9(12): Macro Called From
  \masm32\include\d3d9.inc(92): Include File
\masm32\include\d3d9.inc(92) : error A2008: syntax error : comethod4
_vtIDirect3D9(13): Macro Called From
  \masm32\include\d3d9.inc(92): Include File
\masm32\include\d3d9.inc(92) : error A2008: syntax error : comethod2
_vtIDirect3D9(14): Macro Called From
  \masm32\include\d3d9.inc(92): Include File
\masm32\include\d3d9.inc(92) : error A2008: syntax error : comethod7
_vtIDirect3D9(15): Macro Called From
  \masm32\include\d3d9.inc(92): Include File
\masm32\include\d3d9.inc(219) : error A2008: syntax error : _vtIUnknown
_vtIDirect3DDevice9(1): Macro Called From
  \masm32\include\d3d9.inc(219): Include File
\masm32\include\d3d9.inc(219) : error A2008: syntax error : comethod1
_vtIDirect3DDevice9(2): Macro Called From
  \masm32\include\d3d9.inc(219): Include File
\masm32\include\d3d9.inc(219) : error A2008: syntax error : comethod1
_vtIDirect3DDevice9(3): Macro Called From
  \masm32\include\d3d9.inc(219): Include File
\masm32\include\d3d9.inc(219) : error A2008: syntax error : comethod1
_vtIDirect3DDevice9(4): Macro Called From
  \masm32\include\d3d9.inc(219): Include File
\masm32\include\d3d9.inc(219) : error A2008: syntax error : comethod2
_vtIDirect3DDevice9(5): Macro Called From
  \masm32\include\d3d9.inc(219): Include File
\masm32\include\d3d9.inc(219) : error A2008: syntax error : comethod2
_vtIDirect3DDevice9(6): Macro Called From
  \masm32\include\d3d9.inc(219): Include File
\masm32\include\d3d9.inc(219) : error A2008: syntax error : comethod3
_vtIDirect3DDevice9(7): Macro Called From
  \masm32\include\d3d9.inc(219): Include File
\masm32\include\d3d9.inc(219) : error A2008: syntax error : comethod2
_vtIDirect3DDevice9(8): Macro Called From
  \masm32\include\d3d9.inc(219): Include File
\masm32\include\d3d9.inc(219) : error A2008: syntax error : comethod4
_vtIDirect3DDevice9(9): Macro Called From
  \masm32\include\d3d9.inc(219): Include File
\masm32\include\d3d9.inc(219) : error A2008: syntax error : comethod4
_vtIDirect3DDevice9(10): Macro Called From
  \masm32\include\d3d9.inc(219): Include File
\masm32\include\d3d9.inc(219) : error A2008: syntax error : comethod2
_vtIDirect3DDevice9(11): Macro Called From
  \masm32\include\d3d9.inc(219): Include File
\masm32\include\d3d9.inc(219) : error A2008: syntax error : comethod3
_vtIDirect3DDevice9(12): Macro Called From
  \masm32\include\d3d9.inc(219): Include File
\masm32\include\d3d9.inc(219) : error A2008: syntax error : comethod3
_vtIDirect3DDevice9(13): Macro Called From
  \masm32\include\d3d9.inc(219): Include File
\masm32\include\d3d9.inc(219) : error A2008: syntax error : comethod1
_vtIDirect3DDevice9(14): Macro Called From
  \masm32\include\d3d9.inc(219): Include File
\masm32\include\d3d9.inc(219) : error A2008: syntax error : comethod2
_vtIDirect3DDevice9(15): Macro Called From
  \masm32\include\d3d9.inc(219): Include File
\masm32\include\d3d9.inc(219) : error A2008: syntax error : comethod5
_vtIDirect3DDevice9(16): Macro Called From
  \masm32\include\d3d9.inc(219): Include File
\masm32\include\d3d9.inc(219) : error A2008: syntax error : comethod5
_vtIDirect3DDevice9(17): Macro Called From
  \masm32\include\d3d9.inc(219): Include File
\masm32\include\d3d9.inc(219) : error A2008: syntax error : comethod3
_vtIDirect3DDevice9(18): Macro Called From
  \masm32\include\d3d9.inc(219): Include File
\masm32\include\d3d9.inc(219) : error A2008: syntax error : comethod2
_vtIDirect3DDevice9(19): Macro Called From
  \masm32\include\d3d9.inc(219): Include File
\masm32\include\d3d9.inc(219) : error A2008: syntax error : comethod4
_vtIDirect3DDevice9(20): Macro Called From
  \masm32\include\d3d9.inc(219): Include File
\masm32\include\d3d9.inc(219) : error A2008: syntax error : comethod3
_vtIDirect3DDevice9(21): Macro Called From
  \masm32\include\d3d9.inc(219): Include File
\masm32\include\d3d9.inc(219) : error A2008: syntax error : comethod9
_vtIDirect3DDevice9(22): Macro Called From
  \masm32\include\d3d9.inc(219): Include File
\masm32\include\d3d9.inc(219) : error A2008: syntax error : comethod10
_vtIDirect3DDevice9(23): Macro Called From
  \masm32\include\d3d9.inc(219): Include File
\masm32\include\d3d9.inc(219) : error A2008: syntax error : comethod8
_vtIDirect3DDevice9(24): Macro Called From
  \masm32\include\d3d9.inc(219): Include File
\masm32\include\d3d9.inc(219) : error A2008: syntax error : comethod7
_vtIDirect3DDevice9(25): Macro Called From
  \masm32\include\d3d9.inc(219): Include File
\masm32\include\d3d9.inc(219) : error A2008: syntax error : comethod7
_vtIDirect3DDevice9(26): Macro Called From
  \masm32\include\d3d9.inc(219): Include File
\masm32\include\d3d9.inc(219) : error A2008: syntax error : comethod9
_vtIDirect3DDevice9(27): Macro Called From
  \masm32\include\d3d9.inc(219): Include File
\masm32\include\d3d9.inc(219) : error A2008: syntax error : comethod9
_vtIDirect3DDevice9(28): Macro Called From
  \masm32\include\d3d9.inc(219): Include File
\masm32\include\d3d9.inc(219) : error A2008: syntax error : comethod5
_vtIDirect3DDevice9(29): Macro Called From
  \masm32\include\d3d9.inc(219): Include File
\masm32\include\d3d9.inc(219) : error A2008: syntax error : comethod3
_vtIDirect3DDevice9(30): Macro Called From
  \masm32\include\d3d9.inc(219): Include File
\masm32\include\d3d9.inc(219) : error A2008: syntax error : comethod3
_vtIDirect3DDevice9(31): Macro Called From
  \masm32\include\d3d9.inc(219): Include File
\masm32\include\d3d9.inc(219) : error A2008: syntax error : comethod3
_vtIDirect3DDevice9(32): Macro Called From
  \masm32\include\d3d9.inc(219): Include File
\masm32\include\d3d9.inc(219) : error A2008: syntax error : comethod6
_vtIDirect3DDevice9(33): Macro Called From
  \masm32\include\d3d9.inc(219): Include File
\masm32\include\d3d9.inc(219) : error A2008: syntax error : comethod4
_vtIDirect3DDevice9(34): Macro Called From
  \masm32\include\d3d9.inc(219): Include File
\masm32\include\d3d9.inc(219) : error A2008: syntax error : comethod7
_vtIDirect3DDevice9(35): Macro Called From
  \masm32\include\d3d9.inc(219): Include File
\masm32\include\d3d9.inc(219) : error A2008: syntax error : comethod3
_vtIDirect3DDevice9(36): Macro Called From
  \masm32\include\d3d9.inc(219): Include File
\masm32\include\d3d9.inc(219) : error A2008: syntax error : comethod3
_vtIDirect3DDevice9(37): Macro Called From
  \masm32\include\d3d9.inc(219): Include File
\masm32\include\d3d9.inc(219) : error A2008: syntax error : comethod2
_vtIDirect3DDevice9(38): Macro Called From
  \masm32\include\d3d9.inc(219): Include File
\masm32\include\d3d9.inc(219) : error A2008: syntax error : comethod2
_vtIDirect3DDevice9(39): Macro Called From
  \masm32\include\d3d9.inc(219): Include File
\masm32\include\d3d9.inc(219) : error A2008: syntax error : comethod1
_vtIDirect3DDevice9(40): Macro Called From
  \masm32\include\d3d9.inc(219): Include File
\masm32\include\d3d9.inc(219) : error A2008: syntax error : comethod1
_vtIDirect3DDevice9(41): Macro Called From
  \masm32\include\d3d9.inc(219): Include File
\masm32\include\d3d9.inc(219) : error A2008: syntax error : comethod7
_vtIDirect3DDevice9(42): Macro Called From
  \masm32\include\d3d9.inc(219): Include File
\masm32\include\d3d9.inc(219) : error A2008: syntax error : comethod3
_vtIDirect3DDevice9(43): Macro Called From
  \masm32\include\d3d9.inc(219): Include File
\masm32\include\d3d9.inc(219) : error A2008: syntax error : comethod3
_vtIDirect3DDevice9(44): Macro Called From
  \masm32\include\d3d9.inc(219): Include File
\masm32\include\d3d9.inc(219) : error A2008: syntax error : comethod3
_vtIDirect3DDevice9(45): Macro Called From
  \masm32\include\d3d9.inc(219): Include File
\masm32\include\d3d9.inc(219) : error A2008: syntax error : comethod2
_vtIDirect3DDevice9(46): Macro Called From
  \masm32\include\d3d9.inc(219): Include File
\masm32\include\d3d9.inc(219) : error A2008: syntax error : comethod2
_vtIDirect3DDevice9(47): Macro Called From
  \masm32\include\d3d9.inc(219): Include File
\masm32\include\d3d9.inc(219) : error A2008: syntax error : comethod2
_vtIDirect3DDevice9(48): Macro Called From
  \masm32\include\d3d9.inc(219): Include File
\masm32\include\d3d9.inc(219) : error A2008: syntax error : comethod2
_vtIDirect3DDevice9(49): Macro Called From
  \masm32\include\d3d9.inc(219): Include File
\masm32\include\d3d9.inc(219) : error A2008: syntax error : comethod3
_vtIDirect3DDevice9(50): Macro Called From
  \masm32\include\d3d9.inc(219): Include File
\masm32\include\d3d9.inc(219) : error A2008: syntax error : comethod3
_vtIDirect3DDevice9(51): Macro Called From
  \masm32\include\d3d9.inc(219): Include File
\masm32\include\d3d9.inc(219) : error A2008: syntax error : comethod3
_vtIDirect3DDevice9(52): Macro Called From
  \masm32\include\d3d9.inc(219): Include File
\masm32\include\d3d9.inc(219) : error A2008: syntax error : comethod3
_vtIDirect3DDevice9(53): Macro Called From
  \masm32\include\d3d9.inc(219): Include File
\masm32\include\d3d9.inc(219) : error A2008: syntax error : comethod3
_vtIDirect3DDevice9(54): Macro Called From
  \masm32\include\d3d9.inc(219): Include File
\masm32\include\d3d9.inc(219) : error A2008: syntax error : comethod3
_vtIDirect3DDevice9(55): Macro Called From
  \masm32\include\d3d9.inc(219): Include File
\masm32\include\d3d9.inc(219) : error A2008: syntax error : comethod3
_vtIDirect3DDevice9(56): Macro Called From
  \masm32\include\d3d9.inc(219): Include File
\masm32\include\d3d9.inc(219) : error A2008: syntax error : comethod3
_vtIDirect3DDevice9(57): Macro Called From
  \masm32\include\d3d9.inc(219): Include File
\masm32\include\d3d9.inc(219) : error A2008: syntax error : comethod3
_vtIDirect3DDevice9(58): Macro Called From
  \masm32\include\d3d9.inc(219): Include File
\masm32\include\d3d9.inc(219) : error A2008: syntax error : comethod1
_vtIDirect3DDevice9(59): Macro Called From
  \masm32\include\d3d9.inc(219): Include File
\masm32\include\d3d9.inc(219) : error A2008: syntax error : comethod2
_vtIDirect3DDevice9(60): Macro Called From
  \masm32\include\d3d9.inc(219): Include File
\masm32\include\d3d9.inc(219) : error A2008: syntax error : comethod2
_vtIDirect3DDevice9(61): Macro Called From
  \masm32\include\d3d9.inc(219): Include File
\masm32\include\d3d9.inc(219) : error A2008: syntax error : comethod2
_vtIDirect3DDevice9(62): Macro Called From
  \masm32\include\d3d9.inc(219): Include File
\masm32\include\d3d9.inc(219) : error A2008: syntax error : comethod3
_vtIDirect3DDevice9(63): Macro Called From
  \masm32\include\d3d9.inc(219): Include File
\masm32\include\d3d9.inc(219) : error A2008: syntax error : comethod3
_vtIDirect3DDevice9(64): Macro Called From
  \masm32\include\d3d9.inc(219): Include File
\masm32\include\d3d9.inc(219) : error A2008: syntax error : comethod4
_vtIDirect3DDevice9(65): Macro Called From
  \masm32\include\d3d9.inc(219): Include File
\masm32\include\d3d9.inc(219) : error A2008: syntax error : comethod4
_vtIDirect3DDevice9(66): Macro Called From
  \masm32\include\d3d9.inc(219): Include File
\masm32\include\d3d9.inc(219) : error A2008: syntax error : comethod4
_vtIDirect3DDevice9(67): Macro Called From
  \masm32\include\d3d9.inc(219): Include File
\masm32\include\d3d9.inc(219) : error A2008: syntax error : comethod4
_vtIDirect3DDevice9(68): Macro Called From
  \masm32\include\d3d9.inc(219): Include File
\masm32\include\d3d9.inc(219) : error A2008: syntax error : comethod2
_vtIDirect3DDevice9(69): Macro Called From
  \masm32\include\d3d9.inc(219): Include File
\masm32\include\d3d9.inc(219) : error A2008: syntax error : comethod3
_vtIDirect3DDevice9(70): Macro Called From
  \masm32\include\d3d9.inc(219): Include File
\masm32\include\d3d9.inc(219) : error A2008: syntax error : comethod3
_vtIDirect3DDevice9(71): Macro Called From
  \masm32\include\d3d9.inc(219): Include File
\masm32\include\d3d9.inc(219) : error A2008: syntax error : comethod2
_vtIDirect3DDevice9(72): Macro Called From
  \masm32\include\d3d9.inc(219): Include File
\masm32\include\d3d9.inc(219) : error A2008: syntax error : comethod2
_vtIDirect3DDevice9(73): Macro Called From
  \masm32\include\d3d9.inc(219): Include File
\masm32\include\d3d9.inc(219) : error A2008: syntax error : comethod2
_vtIDirect3DDevice9(74): Macro Called From
  \masm32\include\d3d9.inc(219): Include File
\masm32\include\d3d9.inc(219) : error A2008: syntax error : comethod2
_vtIDirect3DDevice9(75): Macro Called From
  \masm32\include\d3d9.inc(219): Include File
\masm32\include\d3d9.inc(219) : error A2008: syntax error : comethod2
_vtIDirect3DDevice9(76): Macro Called From
  \masm32\include\d3d9.inc(219): Include File
\masm32\include\d3d9.inc(219) : error A2008: syntax error : comethod1
_vtIDirect3DDevice9(77): Macro Called From
  \masm32\include\d3d9.inc(219): Include File
\masm32\include\d3d9.inc(219) : error A2008: syntax error : comethod2
_vtIDirect3DDevice9(78): Macro Called From
  \masm32\include\d3d9.inc(219): Include File
\masm32\include\d3d9.inc(219) : error A2008: syntax error : comethod1
_vtIDirect3DDevice9(79): Macro Called From
  \masm32\include\d3d9.inc(219): Include File
\masm32\include\d3d9.inc(219) : error A2008: syntax error : comethod4
_vtIDirect3DDevice9(80): Macro Called From
  \masm32\include\d3d9.inc(219): Include File
\masm32\include\d3d9.inc(219) : error A2008: syntax error : comethod7
_vtIDirect3DDevice9(81): Macro Called From
  \masm32\include\d3d9.inc(219): Include File
\masm32\include\d3d9.inc(219) : error A2008: syntax error : comethod5
_vtIDirect3DDevice9(82): Macro Called From
  \masm32\include\d3d9.inc(219): Include File
\masm32\include\d3d9.inc(219) : error A2008: syntax error : comethod9
_vtIDirect3DDevice9(83): Macro Called From
  \masm32\include\d3d9.inc(219): Include File
\masm32\include\d3d9.inc(219) : error A2008: syntax error : comethod7
_vtIDirect3DDevice9(84): Macro Called From
  \masm32\include\d3d9.inc(219): Include File
\masm32\include\d3d9.inc(219) : error A2008: syntax error : comethod3
_vtIDirect3DDevice9(85): Macro Called From
  \masm32\include\d3d9.inc(219): Include File
\masm32\include\d3d9.inc(219) : fatal error A1012: error count exceeds 100; stop
ping assembly
_vtIDirect3DDevice9(86): Macro Called From
  \masm32\include\d3d9.inc(219): Include File
_
Assembly Error
Presione una tecla para continuar . . .


Here is an example of the errors i get. I hope i'm doing until now something stupid and easily corrected. If you have some time siekmanski, please give it a look. Thanks again, btw.

felipe

Btw siekmanski, in my desperate search i found this link:https://www.codeproject.com/Articles/1190423/DirectX-and-Pure-Assembly-Language-Doing-What-Cant Which i think it contains a comment from you  :P.  Any idea of the part 2?

Siekmanski

Hi Filipe,

Look at the examples how to include the libs and include files, they are all provided within the "d3dx9_asm.zip" file.
Don't use the masm32rt.inc but the ones in the zip file.

   include d3dx9includes\dx9macros.inc ; this one before d3dx9.inc
   include d3dx9includes\d3dx9.inc ; includes also the rest of the d3d9 includes.

   includelib d3dx9libs\d3d9.lib
   includelib d3dx9libs\d3dx9.lib

What's the title of the DirectX 9 book you mentioned in the other thread?
Creative coders use backward thinking techniques as a strategy.

Siekmanski

Quote from: felipe on April 07, 2018, 03:12:33 PM
Btw siekmanski, in my desperate search i found this link:https://www.codeproject.com/Articles/1190423/DirectX-and-Pure-Assembly-Language-Doing-What-Cant Which i think it contains a comment from you  :P.  Any idea of the part 2?

I don't know, think he didn't continue his articles.
Creative coders use backward thinking techniques as a strategy.

felipe

I have other errors now: starts with redefined l_max_lenght or something.After commenting that line in the include file i get something like it can't open uuid.lib. With some others examples it can't open or find others files like windows.inc. In the examples (source folder) not all the "paths" for the files are the same. I'm a little tired now i will go to sleep now but tomorrow will try again. Thanks again. The book title is: "beginning game programming". Looking some site where to get it? Pm me if you want some info about it  :redface:. Wait, why  :icon_rolleyes:? oh, because i don't want to distract others from the topic of the post... ::)  :redface:  :P


Lonewolff

Seems like the three of us are all doing similar things. Maybe we should pool efforts?

LiaoMi


daydreamer

Homer did a great work earlier based on ATC oop
class, COM compatible,virtual,endclass looks like its oop based
and makes use of pcall macro to be able to call COM's indirect calls
my none asm creations
https://masm32.com/board/index.php?topic=6937.msg74303#msg74303
I am an Invoker
"An Invoker is a mage who specializes in the manipulation of raw and elemental energies."
Like SIMD coding

felipe


felipe

Ok, i personally give up with directx (at least for now)  :(. I don't want to lose more time with this missing include files. I prefer to keep learning what is available for us as assembly programmers, i think if they don't want assembly (i mean microsh*t) ph*k them but i do. So this available things for me now are: 1) All the win32 api functions from the includes of the masm32sdk package. 2) To learn more intel instructions as well as the 64 bit architecture.
I just want to say this here because what i had say before. I don't want to discourage anybody here, so good luck with game development!  :biggrin:

LiaoMi

Hi felipe,

why did you choose the old directx? The twelfth version is many times faster, for the future it would be cool to be guided by the new version  ::)

felipe

Because an old book that looked good.

LordAdef

I know this feeling.... it's when we suddenly get stuck with something and we can not carry on.... it's horrible.


Don't loose faith Felipe, I'm sure Marinus can you on this

Siekmanski

Hi Felipe,

I have made an Empty project for you with all the libs and includes.
Keep it all in the same directory when starting another project.
Hope this will work on your computer now and you can use it with the examples in your book.

http://members.home.nl/siekmanski/FelipeDX9.zip

Marinus
Creative coders use backward thinking techniques as a strategy.