flat assembler
Message board for the users of flat assembler.
Index
> Windows > DIRECTX problem |
Author |
|
vid 22 Jun 2006, 18:25
what do you mean "directx have an error on this word GUID" ?
directx can't have "error on word". you mean FASM reports error during compilation on word GUID? |
|||
22 Jun 2006, 18:25 |
|
mrn2929 24 Jun 2006, 11:08
yes
|
|||
24 Jun 2006, 11:08 |
|
madmatt 24 Jun 2006, 23:44
I don't think its included in the standard fasmw includes so here it is:
Code: struct GUID Data1 dd ? Data2 dw ? Data3 dw ? Data4 db 8 dup(?) ends and an example on how to use it: Code: IID_IDirectDraw GUID $6C14DB80, $A733, $11CE, <$A5,$21,$00,$20,$AF,$0B,$E5,$60> If you want some directx examples and more thorough includes, you can goto my website at: http://users.egl.net/talktomatt/default.html[/code] |
|||
24 Jun 2006, 23:44 |
|
mrn2929 25 Jun 2006, 15:52
thnx for your guidance, but when i was compiled your code "struct GUID
Data1 dd ? Data2 dw ? Data3 dw ? Data4 db 8 dup(?) ends " with my program , get the error and also iwas get your inclouds in your site but althought not correct. please UPLOAD all of your FASMW . best regard. |
|||
25 Jun 2006, 15:52 |
|
madmatt 26 Jun 2006, 00:44
What error are you getting? Post the code where the error is happening.
|
|||
26 Jun 2006, 00:44 |
|
mrn2929 26 Jun 2006, 07:37
for example in file
"PROGRAMMING WINDOWS - CHARLES PETZOLD\Chapters 1-2-3\HelloMessage.asm" error is "Out of Memory" |
|||
26 Jun 2006, 07:37 |
|
mrn2929 26 Jun 2006, 08:09
and another file in that root "3D Game programming with DirectX 9.0\Chapter 1\d3d-Init.asm" in compiling get this
ERROR : "undefined symbol" source:d3dx9.inc[219] struct.inc[86] struct.inc[106] struct.inc[114] |
|||
26 Jun 2006, 08:09 |
|
madmatt 26 Jun 2006, 15:11
Hi mm2929,
You are right about the errors, the examples work fine, its the setup instructions that are the trouble. At the time I wrote the examples it was correct, but I forgot to update the instructions for future versions of the flat assembler for windows compiler, If you follow the instructions now the examples SHOULD work now , THANKS for bringing this to my attention!! As far as the GUID errors, are you including the win32a.inc file? |
|||
26 Jun 2006, 15:11 |
|
mrn2929 26 Jun 2006, 17:34
hi madmatt ;
I was addition this 4 line in the top of your exmples and work correctlly : include '%fasminc%\win32a.inc' include '%fasminc%\equates\kernel32.inc' include '%fasminc%\equates\gdi32.inc' include '%fasminc%\equates\user32.inc' include '%fasminc%\equates\winmm.inc' thnx for your help. plz get me help about another function in your example : e.g : fld [TeapotPosition.x] mov [temp], 3.0 fld [timeDelta] fmul [temp] fsubp fstp [TeapotPosition.x] if you can, gauidance me to a WEBSITE that learn MAT FUNCTION in FASM . best regard. |
|||
26 Jun 2006, 17:34 |
|
madmatt 27 Jun 2006, 09:31
What trouble are you having with that piece of code?
For info about matrices, You can go here: http://www.gamedev.net/reference/ Look under "math and physics" |
|||
27 Jun 2006, 09:31 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.