Author Topic: DirectX 10 problem  (Read 5000 times)

Offline Duke

  • Single posting newcomer
  • *
  • Posts: 7
DirectX 10 problem
« 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.

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7786
    • My Best Post
Re: DirectX 10 problem
« Reply #1 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.
C Programmer working to learn more about C++ and Git.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline Duke

  • Single posting newcomer
  • *
  • Posts: 7
Re: DirectX 10 problem
« Reply #2 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

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: DirectX 10 problem
« Reply #3 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.