Skip to main content
GameDev.net gamedev.net
🔒 Locked

[DX9 C++] HLSL in windows 64bit

Started by ArgusMaker Jan 7, 2012 at 2:46 PM 3 replies 2.6k views
Original Post
ArgusMaker
ArgusMaker
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?

Molle85
Molle85
Does it say anything if you put DX on debug ?
Molle85
Molle85
open DirectX Control Panel and put D3D to use debug version.
turch
turch

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


And then watch your output window.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.