www.digitalmars.com         C & C++   DMDScript  

c++ - DirectX

reply vicentico1 hotmail.com writes:
Is it possible to use DirectX with dmc? how?

vicentico
Jul 06 2003
next sibling parent "Matthew Wilson" <matthew stlsoft.org> writes:
I've not tried, but I can't imagine that it would be a problem - DMC++
supports COM perfectly happily.


<vicentico1 hotmail.com> wrote in message
news:beapie$2cut$1 digitaldaemon.com...
 Is it possible to use DirectX with dmc? how?

 vicentico
Jul 06 2003
prev sibling parent "Nic Tiger" <tiger7 progtech.ru> writes:
It is rather simple. You can get MS Platform SDK (for Direct X 6.0 or later)
or take it, for example, from Borland C Builder 5.0 (there is MS SDK 2000).
From SDK you should get header files and convert libraries to OMF format.

After that you should have no problem (at least for DirectX 7.0).

With later versions problems can arise, which relate to
__declspec(uuid("bla-bla-bla") not supported by DMC. You should manually
write down this UIDs or write parser and put all them into library, like I
did.

Nic Tiger.

<vicentico1 hotmail.com> wrote in message
news:beapie$2cut$1 digitaldaemon.com...
 Is it possible to use DirectX with dmc? how?

 vicentico
Jul 07 2003