New demo

I don't get anything when I try to run the demo. The process runs and shows 99% CPU usage, but there's absolutely no display. All I see is the desktop.

Running a 9500pro, DX9 and the latest Catalyst drivers. Any ideas?
 
I get the same problem.
Heres a stack trace


********************************

Exception code: C0000005 ACCESS_VIOLATION
Fault address: 0040276E 01:0000176E D:\Demos\Humus\SoftCoronas\SoftCoronas.exe

Registers:
EAX:00C75FF4
EBX:00C52358
ECX:FFFFFFFF
EDX:00000280
ESI:FFFFFFEC
EDI:00000001
CS:EIP:001B:0040276E
SS:ESP:0023:0012FE58 EBP:0012FE78
DS:0023 ES:0023 FS:0038 GS:0000
Flags:00010213

Call stack:
Address Frame Logical addr Module
0040276E 0012FE78 0001:0000176E D:\Demos\Humus\SoftCoronas\SoftCoronas.exe
0040D12E 0012FECC 0001:0000C12E D:\Demos\Humus\SoftCoronas\SoftCoronas.exe
0040B961 0012FF00 0001:0000A961 D:\Demos\Humus\SoftCoronas\SoftCoronas.exe
73DDB4F3 0012FFC0 0001:0000A4F3 C:\WINDOWS\System32\MFC42.DLL
77E814C7 0012FFF0 0001:000204C7 C:\WINDOWS\system32\kernel32.dll


Windows XP SP1, DX9, Cat 3.0a's
Flipping AA on/off doesn't fix it like it (still) does with the ShadowsThatRock demo
 
Refuses to run on my GF3 and 40.72 dets, stating "cannot find DLL OPENAL32.DLL".

Nice that you do error checking and all, Humus, but this is a bit silly... :)


*G*
 
Nice that you do error checking and all, Humus, but this is a bit silly...

Nice that you actually read the info with the demo. Or for that matter even read the rest of the posts here. ;)
 
cellarboy said:
I don't get anything when I try to run the demo. The process runs and shows 99% CPU usage, but there's absolutely no display. All I see is the desktop.

Running a 9500pro, DX9 and the latest Catalyst drivers. Any ideas?

I'm out of ideas on this one. Seams there are many people getting this :?
 
Humus said:
cellarboy said:
I don't get anything when I try to run the demo. The process runs and shows 99% CPU usage, but there's absolutely no display. All I see is the desktop.

Running a 9500pro, DX9 and the latest Catalyst drivers. Any ideas?

I'm out of ideas on this one. Seams there are many people getting this :?

I've got Visual Studio .NET (full install) on my PC @ home. But I ain't any kinda C/C++ programmer. Is it just a case of opening the main project file and then running it through the debugger and see which line of code is failing?

If there's any more steps to help fixing this then by all means let me know.
 
Yeah, that's basically it. You'll need to download the framework too though.
The important code is in the drawFrame() function in Main.cpp, you could just try commenting away stuff and see if you can get it going.
 
Erm - do I need anything extra like the OpenGL and Vorbis SDKs?

Also, I will only be able to do this over the weekend - it's my 30th Birthday today and I've already had a few beers with work and loads more planned for tonight :LOL:
 
OpenGL should be included with your compiler. For the vorbis, if you don't want to install the SDK you can always just uncomment this line at the top of the Main.cpp file:

//#define NO_AUDIO

And of course, happy birthday! :)
 
UberLord said:
Nice that you made this post and all, Grall, but not reading the download intructions is even sillier :devilish:

Okay, now that we're done being cynical :)roll:) I can add that there wasn't anything in the download instructions about any external libraries required. Actually, I couldn't see any download instructions period.

Would have been better if the error message explained audio could not be initialized (so I knew wth was wrong) and/or gave me the choice of running *without* audio...


*G*
 
Unfortunately I have no control over what error message pops up when a statically linked dll is missing. That's just a standard Windows MessageBox, none that I have created. The other option is of course to use dynamic linking, but that would be much more painful. Given the amount of people having trouble I may just aswell do that to the next time.
 
I installed the sound DLL thingy, now I get another msgbox it can't find VORBIS-something-or-other.DLL... :) Maybe I need to reboot first before the bloody thing works. Just haven't been arsed to try that yet, heh.

*G*
 
Ack! Shoudn't really be needed, but now that you say it, my framework probably includes it, even though nothing DX is used.
 
I'll also point out to any Humus-demo-wannabe-compilers that you do also need the Vorbis and OpenAL SDK's due to the framework needing them even when the app doesn't

:rolleyes: :rolleyes: :rolleyes:

Also, according to VS .NET, the ATL::CRegKey::QueryValue has been depricated.

And about line 482 in RenderWindow.cpp, it doesn't like values += data for some reason, but it does like values = '"' + data + '"'

I may actually get this compiled tonight - provided I dont need to do much else - :rolleyes:
 
OK, there's a compiler error I just cannot solve.

RenderApp.cpp, line 140 m_msgCur is undefined.

I suspect that this is a pointer to the Windows Messaging Queue or something like that which handles window messages such as WM_foobar. So it should be defined in an MS .h file somewhere, but I've got no idea where :(

Everything else now compiles, apart from the depreciated warning I get which I posted above.

Any help here? :?:
 
Alright, time to install VS .NET to ensure compatibility I guess. :?
The framework should really not require the vorbis and OpenAL SDK unless you actually use audio. I can't see how anything from these could every be accessed unless audio.h is included, and it's only included in demos that require audio of course.
 
MSDN - the one thing MS did right :LOL:

Fixes to get this to work/compile

RenderApp.cpp
Add this decleration to RenderApp:Run()
MSG m_msgCur;

Comment out m_nDisablePumpCount = 0; ~line 159 to get debug build to compile

2ndly, I cannot get a debug build to work as it brings up a message box stating that it cannot find MSVCRTD.DLL.
I assume the ending D stands for debug.

However, I can work around the crash we are seeing by disabling sound in the app by uncommenting the line #define NO_MUSIC in Main.cpp line 13.
So I'd say the bug is in your sound code.

For reference, I'm using WinXP Pro SP1 with a SB Audigy and the 2.83 Audigy 2 drivers.

Here's a link to download my fixed build with sound disabled. Simply replace the existing EXE file over Humus's demo.
http://www.driverheaven.net/uberlord/SoftCoronas-nosound.zip
 
Back
Top