Does anyone have the latest MSoft Direct2D SDK H/INC files lying around .. that they can pass on.
My SDK won't install properly (asking for Admin rights when I'm using an Admin account ("£$"$"£"!!@@O)) :icon13:
Thanks
Van
What version SDK you have?
V7.1
Would it make a difference.. I can't install it. ?
If you have that DVD, you can decompress those files from WinSDKBuild\WinSDKBuild_x86.msi.
Ok thanks.. I'll look at that
:)
Those files are translated for masm here:
http://masm32.com/board/index.php?topic=563.msg4563#msg4563 (http://masm32.com/board/index.php?topic=563.msg4563#msg4563)
For Windows 8 Microsoft did an comprehensive update to D2D, which is fortunately also available to Win7 users. I've update my headers to the latest SDK for Windows 8.1 and made them compatible/usable with MASM32.
For reasons of simplification the includes are combine to:
- d2d1.inc (Win7 / Vista)
- d2d1_1.inc (Win8 / Win7)
- d2d1_2.inc (Win8.1 / Win8)
The methods can be called with the vf()- macro as usual.
In the attachment the include files, libraries and an example.
regards, qWord
Hi qWord,
solid work. :t Thank you for providing the files.
Gunther
Nice.. thanks qWord.
Hi qWord,
Thank you for this nice example.
Marinus
Good work, qWord :t
d2d1.inc (Win7 / Vista)
d2d1_1.inc (Win8 / Win7)
d2d1_2.inc (Win8.1 / Win8)
Just a question: Does that imply that a Win 8.1 program assembled with d2d1_2.inc will not work on Win7, and the other way round, i.e. d2d1_1.inc won't work with Win 8.1?
Quote from: jj2007 on March 14, 2014, 03:56:21 PM
d2d1.inc (Win7 / Vista)
d2d1_1.inc (Win8 / Win7)
d2d1_2.inc (Win8.1 / Win8)
Just a question: Does that imply that a Win 8.1 program assembled with d2d1_2.inc will not work on Win7, and the other way round, i.e. d2d1_1.inc won't work with Win 8.1?
yep, I forgot some information in that listing:
- d2d1.inc (Win7+ and Vista with platform update)
- d2d1_1.inc (Win8+ and Win7 with platform update)
- d2d1_2.inc (Win8.1+ and Win8 with platform update)
Some other things to mention:
- the example can't assembled with jWasm due an incompatibility
- all structures and enumeration types have a pointer type PType (even if not declared by the headers)
- d2d1_2.inc requires d2d1_1.inc and d2d1.inc; d2d1_1.inc requires d2d1.inc
regards, qWord
I've translate some more (missing) headers for:
- DirectX Graphics Infrastructure (DXGI)
- Windows Imaging Component (WIC)
- DirectWrite (DWrite)
Furthermore a second example is added, which use a DXGI swap chain as render target (also use WIC and DWrite).
regards, qWord
Amazing demos :t
Hi qWord,
:t :icon14:
Gunther
qWord ,
May we expect animated fire or something else in the third example ? ;)
I'm already onto it for a few days now QW :t big thanks
I've had no sleep for a few days now.. flu'ish...
Flowers but I'll be baaaaaack :bgrin:
Quote from: vertograd on March 21, 2014, 07:51:05 AM
qWord ,
May we expect animated fire or something else in the third example ? ;)
probably not.
Sounds like a job for a pixel shaders, which can be used through custom Direct2D-Effects (http://msdn.microsoft.com/en-us/library/windows/desktop/jj710194%28v=vs.85%29.aspx).
qWord
...