News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

DirectX 10 problem

Started by Duke, October 20, 2009, 02:01:45 AM

Previous topic - Next topic

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 :
#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.

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 :
#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.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

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

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.