Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: Duke on October 20, 2009, 02:01:45 am

Title: DirectX 10 problem
Post by: Duke on October 20, 2009, 02:01:45 am
Hi to all, I try to build a basic directx 10 project with the mingw but the compiler not recognize the __out keyword in the d3d10.h file :
Code
#if defined(__cplusplus) && !defined(CINTERFACE)
   
    MIDL_INTERFACE("9B7E4C00-342C-4106-A19F-4F2704F689F0")
    ID3D10DeviceChild : public IUnknown
    {
    public:
        virtual void STDMETHODCALLTYPE GetDevice(
            /* [annotation] */
            __out  ID3D10Device **ppDevice) = 0;

How I configure the mingw to solve this problem?
thanks in advance.
Title: Re: DirectX 10 problem
Post by: stahta01 on October 20, 2009, 02:25:44 am
Hi to all, I try to build a basic directx 10 project with the mingw but the compiler not recognize the __out keyword in the d3d10.h file :
Code
#if defined(__cplusplus) && !defined(CINTERFACE)
   
    MIDL_INTERFACE("9B7E4C00-342C-4106-A19F-4F2704F689F0")
    ID3D10DeviceChild : public IUnknown
    {
    public:
        virtual void STDMETHODCALLTYPE GetDevice(
            /* [annotation] */
            __out  ID3D10Device **ppDevice) = 0;

How I configure the mingw to solve this problem?
thanks in advance.

Suggest posting the question on a MinGW GCC web-site.
Title: Re: DirectX 10 problem
Post by: Duke on October 20, 2009, 03:06:40 am
Yes, you have reason, it is not an intrinsic problem of C:: B, I posting this in a MINGW GCC web site, thousand pardons, though if someone has the solution, he would be grateful for him he was commenting on it. Thank you
Title: Re: DirectX 10 problem
Post by: Jenna on October 20, 2009, 06:25:27 am
Yes, you have reason, it is not an intrinsic problem of C:: B, I posting this in a MINGW GCC web site, thousand pardons, though if someone has the solution, he would be grateful for him he was commenting on it. Thank you

No, he/she will not because I lock this topic.

Please do not hijack our forum for questions not related to C::B again.
They might get silently locked or deleted.