![]() |
| | #1 |
| Programming is fun, mkay? Join Date: Oct 2001
Posts: 490
|
__________________ Website(s): http://www16.brinkster.com/trifaze/ E-mail: trifaze_mattu@lycos.com --------------------------------- C++ Environment: MSVC++ 6.0; Dev-C++ 4.0/4.1 DirectX Version: 9.0b DX SDK: DirectX 8.1 SDK |
| SyntaxBubble is offline | |
| | #2 |
| Rambling Man Join Date: Jan 2002
Posts: 1,050
| I'm not sure if this will help you or not but... Back in October I bought Civilization 3, and it uses DirectX. When I tried playing it I could see the opening intro, but after that I couldn't see anything...it was all black. I could still hear the sound that was playing, though. So after about a week of trying a ton of different things I traded monitors with somebody (my brother) to see if it would work. Lone behold it worked. Since I have the same video card as you it could be your monitor, but I'm not sure. |
| TechWins is offline | |
| | #3 |
| Programming is fun, mkay? Join Date: Oct 2001
Posts: 490
| I have even tried it on another computer. It has: nVidia GeForce 4 512MB RAM And I get the exact same error.
__________________ Website(s): http://www16.brinkster.com/trifaze/ E-mail: trifaze_mattu@lycos.com --------------------------------- C++ Environment: MSVC++ 6.0; Dev-C++ 4.0/4.1 DirectX Version: 9.0b DX SDK: DirectX 8.1 SDK |
| SyntaxBubble is offline | |
| | #4 |
| Guest
Posts: n/a
| Be entirely sure that you are using the proper drivers for your monitor, and not just the general ones that windows comes with. That's the most I can think of |
|
| | #5 |
| Programming is fun, mkay? Join Date: Oct 2001
Posts: 490
| I will try that, but I don't think that's it. My error message for when CreateDevice() fails pops up. I am not sure it's the monitor. Like I said, though, I will see if I have the general drivers or the real ones.
__________________ Website(s): http://www16.brinkster.com/trifaze/ E-mail: trifaze_mattu@lycos.com --------------------------------- C++ Environment: MSVC++ 6.0; Dev-C++ 4.0/4.1 DirectX Version: 9.0b DX SDK: DirectX 8.1 SDK |
| SyntaxBubble is offline | |
| | #6 |
| Guest
Posts: n/a
| Only reason I thought of that is because (going with the civilization thing) if you have general monitor drivers installed, the game won't run right. |
|
| | #7 |
| Programming is fun, mkay? Join Date: Oct 2001
Posts: 490
| My monitor is a 15" color monitor. It's an IBM G74, and I can't find any drivers for it, except the ones which came with Windows. Where can I find them. I tried the IBM website, but they only have them for G76, G78, and G79.
__________________ Website(s): http://www16.brinkster.com/trifaze/ E-mail: trifaze_mattu@lycos.com --------------------------------- C++ Environment: MSVC++ 6.0; Dev-C++ 4.0/4.1 DirectX Version: 9.0b DX SDK: DirectX 8.1 SDK |
| SyntaxBubble is offline | |
| | #8 |
| Registered User Join Date: Aug 2001 Location: Cairo, Egypt
Posts: 128
| All direct3D functions return HRESULTs 1 - Switch to the debug run-time, and max the warning level of Direct3D ( via the control panel applet ) 2 - Run the sample in the debugger ( MSVC debugger ) : When an error occurs, it's going to tell you 3 - Check the result returned by IDirect3D8::CreateDevice() using GetErrorString & GetErrorDescription ( maybe these aren't the exact function names, but they're very close to the actual names )
__________________ Muhammad Haggag |
| Coder is offline | |
| | #9 |
| Programming is fun, mkay? Join Date: Oct 2001
Posts: 490
| I don't use MSVC :( I don't use MSVC . I use Bloodshed Dev-C++, and I don't know how to use he GDB Debugger. Also, I can't find anything about GetErrorDescription, just D3DXGetErrorString(). That function gives me D3DERR_INVALIDCALL, which the docs. say:D3DERR_INVALIDCALL The method call is invalid. For example, a method's parameter may have an invalid value.
__________________ Website(s): http://www16.brinkster.com/trifaze/ E-mail: trifaze_mattu@lycos.com --------------------------------- C++ Environment: MSVC++ 6.0; Dev-C++ 4.0/4.1 DirectX Version: 9.0b DX SDK: DirectX 8.1 SDK |
| SyntaxBubble is offline | |
| | #10 |
| Registered User Join Date: Aug 2001 Location: Cairo, Egypt
Posts: 128
| I found the names, in the SDK docs : DXGetErrorString8 & DXGetErrorDescription8, both prototyped in dxerr8.h & implemented in dxerr8.lib About the crash, I suggest that you use the DirectX caps viewer and check the caps of your ATI with the presentation parameters, see if something's not supported.
__________________ Muhammad Haggag Last edited by Coder; 06-19-2002 at 02:55 PM. |
| Coder is offline | |
![]() |
| Thread Tools | |
| Display Modes | |
|