Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Windows 8 - d3dx9_31.dll and DBProCameraDebug.dll missing

Author
Message
Ben_UK78
14
Years of Service
User Offline
Joined: 10th Jul 2010
Location:
Posted: 21st Aug 2014 10:45
Hi All,

I need a little help.

I wrote a program which works fine on my Windows 7 machine, but on a Windows 8 machine and another windows 7 machine throws up missing file errors for d3dx9_31.dll and DBProCameraDebug.dll.

Obviously its a directx error and I guess down to the directx installation. (naturally)

The windows 8 machine has directx 11 installed. Comments on this forum are quite old (2010 etc) so I could do with a little (modern) help. You know what directx is like - trying to install older versions is like hitting yourself over the head with a mallet and I guess it isn't the best way to try and get around the problem.

I can put d3dx9_31.dll in the program directory and the missing file message disappears upon trying to start the program, but the missing DBProCameraDebug.dll still pops up and I cannot find it on my laptop.

Why does it work on my windows 7 machine, but not another windows 7 machine? DXDiag says I have directx 11 installed my machine (and the program works fine).

Is there a 'correct' way to get it to work on Windows 8 and 7? Or if there a fudge I need to do?

Many thanks
Rudolpho
19
Years of Service
User Offline
Joined: 28th Dec 2005
Location: Sweden
Posted: 21st Aug 2014 11:40
DBProCameraDebug.dll is a DBPro file. I don't know how you've managed to exclude that from your executable, perhaps you compiled it with ExternalizeDlls=true? If so you can copy it from your DBProInstall\Compiler\Plugins directory to the directory where your executable resides.

The other problem is indeed an issue of DirectX not being installed. Standard DBPro requires DX9.0c to run and DirectX 11 is different (as in DX11 is not a superset of DX9) so you'll have to install DX9 alongside DX11. There should be plenty of posts about that if you search the forum a little (I'd hunt down the link for you but I'm just doing a quick post now while my breakfast porridge cooks up).


"Why do programmers get Halloween and Christmas mixed up?"
MrValentine
AGK Backer
14
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 21st Aug 2014 20:57
A lot of users mention installing this...

http://www.microsoft.com/en-gb/download/details.aspx?id=35

Personally I use the one I got on the DBPro DGS DVD...

As said already DX9.0c is not installed by default on modern systems as it is an application specific requirement and not required by the OS to function...

Ben_UK78
14
Years of Service
User Offline
Joined: 10th Jul 2010
Location:
Posted: 21st Aug 2014 23:14
Thanks. I have downloaded the Direct X Redist file (June 2010) and hopefully that will do the trick for the d3dx9_31.dll error.

I have no idea what caused the DBProCameraDebug.dll error. I have never heard of ExternalizeDlls, so have not used it. I have no need to externalise the dlls.

I will play with it a little and I guess just include it as media if it keeps leaving it out. To my knowledge though I have done nothing that should make this dll not be included. If I had externalised dlls wouldn't I get an error on all of them? The installation directory created for this program doesn't contain any of the dlls and the machine with the missing file error doesn't have BDP installed on it.
MrValentine
AGK Backer
14
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 21st Aug 2014 23:17
I found the DBProCameraDebug.dll error occurs if DX is not correctly installed, so let me know if you need the DGS version of DX it is roughly 81MB

Login to post a reply

Server time is: 2025-05-29 06:09:02
Your offset time is: 2025-05-29 06:09:02