News:

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

Main Menu

Msoft SDK Direct2D H/INC files ?

Started by K_F, March 12, 2014, 07:13:01 PM

Previous topic - Next topic

K_F

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
'Sire, Sire!... the peasants are Revolting !!!'
'Yes, they are.. aren't they....'

TWell


K_F

V7.1

Would it make a difference.. I can't install it. ?
'Sire, Sire!... the peasants are Revolting !!!'
'Yes, they are.. aren't they....'

TWell

If you have that DVD, you can decompress those files from WinSDKBuild\WinSDKBuild_x86.msi.

K_F

'Sire, Sire!... the peasants are Revolting !!!'
'Yes, they are.. aren't they....'

TouEnMasm

Fa is a musical note to play with CL

qWord

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

MREAL macros - when you need floating point arithmetic while assembling!

Gunther

Hi qWord,

solid work.  :t Thank you for providing the files.

Gunther
You have to know the facts before you can distort them.

K_F

'Sire, Sire!... the peasants are Revolting !!!'
'Yes, they are.. aren't they....'

Siekmanski

Hi qWord,

Thank you for this nice example.

Marinus
Creative coders use backward thinking techniques as a strategy.

jj2007

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?

qWord

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
MREAL macros - when you need floating point arithmetic while assembling!

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
MREAL macros - when you need floating point arithmetic while assembling!

GoneFishing


Gunther

You have to know the facts before you can distort them.