User forums > Using Code::Blocks

DirectX 10 problem

(1/1)

Duke:
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;
--- End code ---

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

stahta01:

--- Quote from: 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;
--- End code ---

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

--- End quote ---

Suggest posting the question on a MinGW GCC web-site.

Duke:
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

Jenna:

--- Quote from: 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

--- End quote ---

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.

Navigation

[0] Message Index

Go to full version