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

D3DX10CreateEffectFromFile problem...can't find the effect file.

Last post 03-30-2008 1:47 AM by Rory. 1 replies.
  • 03-29-2008 11:58 PM

    D3DX10CreateEffectFromFile problem...can't find the effect file.

    I am having a problem. I am doing the tutorial in the DirectX Documentation, and I copied, but hand-typed, all the code out. The tutorial source code runs, but my program finds an error. It can't find the effect. I placed a copy of the effect in every folder of my project, but it still couldn't be found. This is pretty frustrating. Any tips?

    • The source code has a different project setup than mine.  
    • I am using the 2008 version of C++ Express.
    • I am on Tutorial02 of the Direct3D 10 documentation.

     

       

     

    I work for Him, in His government, as an agent, of grace.
  • 03-30-2008 1:47 AM In reply to

    Re: D3DX10CreateEffectFromFile problem...can't find the effect file.

    The working directory defaults to the vcproj location AFAIK. Whatever the case, you can set the working directory for when you are debugging in the project properties.

    So I'd suggest setting the working directory to a place where you know the effect file is.

    Rory
Page 1 of 1 (2 items) Previous Next