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

Path loading FX in Lib Proj.

Last post 05-19-2008 9:55 AM by gde. 1 replies.
  • 05-19-2008 7:55 AM

    Path loading FX in Lib Proj.

    Where is the path when loading .fx file?

    I have been tried when i was loading .fx file. The code that loading .fx was in main project folder and put the .fx file into main project path, and it success. But now i tried, the code in Lib project and put .fx file in my lib project path. It failed. So where actually?

    Thanks.

    EDIT: I use

    D3DX10CreateEffectFromFile(L"File.fx", NULL, NULL, L"fx_4_0", D3D10_SHADER_ENABLE_STRICTNESS, 0, g_D3DDevice, NULL, NULL, &effectD3D, NULL, NULL);

  • 05-19-2008 9:55 AM In reply to

    Re: Path loading FX in Lib Proj.

    Ah, I did mistake in my code, please ignore this :)
Page 1 of 1 (2 items) Previous Next