XNA Creators Club Online
Page 1 of 1 (5 items)
Sort Posts: Previous Next

where are D3DX11CreateFFT and similar?

Last post 9/22/2009 7:54 AM by RobyDX. 4 replies.
  • 9/21/2009 6:17 PM

    where are D3DX11CreateFFT and similar?

    Hi, I'm working on DirectX11 these day (I'm developing a DirectX11 wrapper for .Net that I count to release this week-end on my website) but I've a little problem with new ID3DX11FFT object,
    the library D3DCSX doesn't contain function to create this object (D3DX11CreateFFT for example) so is impossible to create this object.
    Have anyone found the location of this function?

    Thanks to all
  • 9/21/2009 7:38 PM In reply to

    Re: where are D3DX11CreateFFT and similar?

    In order to use D3DCSX you'll need to include d3dcsx.h, link against d3dcsx.lib, and include d3dcsx_42.dll in your redist. Is that what you're looking for?
  • 9/21/2009 8:15 PM In reply to

    Re: where are D3DX11CreateFFT and similar?

    I've already done but compiler can't find the methods.
    They are defined in the header but not in the lib
  • 9/21/2009 10:38 PM In reply to

    Re: where are D3DX11CreateFFT and similar?

    It looks like you can work around this problem by modifying D3DCSX.h to specify the WINAPI calling convention:

    HRESULT WINAPI D3DX11CreateFFT(   
       ID3D11DeviceContext* pDeviceContext,  
       __in const D3DX11_FFT_DESC* pDesc,  
       UINT Flags,  
       __out D3DX11_FFT_BUFFER_INFO* pBufferInfo,  
       __out ID3DX11FFT** ppFFT  
     );  
     


    -Mike

  • 9/22/2009 7:54 AM In reply to

    Re: where are D3DX11CreateFFT and similar?

    Thank you
Page 1 of 1 (5 items) Previous Next