I am trying to create a DLL to handle some directx for me. But it seems to be acting up. If you take a look at the picture below you will see that the LPDIRECT3DDEVICE9 d3ddev; pointer is not being created? While at the same time, the D3DPRESENT_PARAMETERS d3dpp; is.
The directx header is being included at the top of the file like so:
#include <d3d9.h> #pragma comment (lib, "d3d9.lib")
Everything else directx wise works except for
LPDIRECT3D9 d3d; LPDIRECT3DDEVICE9 d3ddev;
Is there a reason LPDIRECT3DDEVICE9 d3ddev; & LPDIRECT3D9 d3d; are not being created?
Thanks a ton.