Jump to content
  • Advertisement
Sign in to follow this  
ArgusMaker

[DX9 C++] HLSL in windows 64bit

This topic is 2528 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi there!
I made an exe which loads an fx hsls shader effect file.
It works properly as long as i execute it in windows 32bit, yet when i try in 64bit the effect file is no longer loaded.
D3DXCreateEffectFromFile leaves my [color=#000000][font=Consolas, Courier, monospace]

LPD3DXEFFECT NULL and does not return any of the following values:
D3D_OK,[/font][color=#2A2A2A]D3DERR_INVALIDCALL, D3DXERR_INVALIDDATA, E_OUTOFMEMORY.
Still the exe and the fx files are the same!
[color=#2A2A2A]wacko.png What's going on?

Share this post


Link to post
Share on other sites
Advertisement

open DirectX Control Panel and put D3D to use debug version.


And then watch your output window.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!