So, first off, great book Will. I brought it a few months ago and only now have found the time to start working on RackAFX. Since I work as an iOS developer and generally am not too keen I Windows I don't usually use Windows at all and have a PC with an old Windows 7 partition that's really slow and full of crap. So, I went out and brought a new hard drive, put it in the same machine and installed Windows 8. Since RackAFX is the main thing I want to use I installed it first after BOTH the x86 and x64 re-distributables (thanks to http://www.willpirkle.com/foru.....ont-start/ and http://www.willpirkle.com/foru.....nd-vs2013/) but that's where my problems started.
RackAFX just won't start. I double click the icon and nothing happens. Once or twice, Windows reported that 'RackAFX has stopped working' and gave some error codes shown in the following screenshots:
I tried all possible 'compatibility' options too:
I also tried to run as administrator:
Still it won't open. Now Windows doesn't even give the 'RackAFX has stopped working'. A double click results in a spinning circle near the mouse and then nothing.
Anyway, trying to debug I installed RackAFX on both my wife's Windows 8.1 machine and my old clogged up Windows 7 partition (on the same machine as the problematic partition) and it works no problem. I also tried updating Windows 8.1 and still it doesn't work.
I then also added another Windows 7 partition to my new hard drive and installed RackAFX but same thing - it won't open.
Not sure if this helps but this SO post describes how to find the LOC related to 'Exception Offset':
So, in summary, RackAFX won't open on a freshly installed Windows 7 or Windows 8.1.
I'm really keen to start coding and any help you can give me would be appreciated.
Sorry you are having problems here. Thanks for the very detailed screen shots of the fault. I was confused at first because I have installed RackAFX on newly installed Win7 and Win8 machines numerous times without a problem.
But, I tracked down the fault location and found that it was in a section of newly added code that involves enumerating the audio input and output devices at startup. It appears that the OS is reporting that there is no "default audio input device" - I was able to replicate your crash with the same address by pretending the OS reports "no default." The very next code then does the same thing to find a default audio output device - but of course we never get there.
The previous versions of RAFX did not let you choose your audio I/O devices - RAFX used whatever the OS reported as the default devices. If you wanted to change audio devices, you had to do it in the control panel by setting a new default (one each for input and output). Several students and book-readers requested the ability to set the audio I/O inside RackAFX so I added that.
I need to rev RackAFX to detect this situation - so far you are the first to report it. I should have an update later today. But I would like you to try something before I post it:
Open the Control Panel and make sure you have a Default audio interface.
If there is no default audio adapter ("none") for the input, choose one from the list, then make sure there is also a default output device, and then retry RackAFX - it should now start without a problem. If there is no list, and you can't choose audio input and/or output, then that is the fundamental problem. Please let me know if that is the situation. If there is no input device, you won't be able to use the Sound Card Input feature where you can process external audio plugged into your line-in through your RackAFX plug-ins. Of course if there is no output device, you can't stream audio through your plug-ins.
If the control panel shows that you DO have a default input device chosen, please let me know that as well. If this is the case, then I would like you to try the following:
First, retry starting RackAFX - opening the control panel might have set the default for you. If it still crashes:
On the Downloads page, get the earlier version of RackAFX (v6.0.7) which does not have this code at startup and install that. It should startup without a problem. If there really is no default input device, then pressing the "Sound Input Mode" button (looks like an old soundblaster card) should do nothing (it should not crash, just do nothing).
I will wait to hear back from you before posting an update to RackAFX.
Thanks for the report and the excellent debug information.
Great to hear that you are up and running! The no-driver-installed issue makes sense.
I have added more robust error checking to that startup code that will detect and warn the user about this, and will release a new version shortly.
Thanks again for your bug report and screen-shots.
All the best,
Most Users Ever Online: 152
Currently Browsing this Page:
Guest Posters: 1
Newest Members:Jeff Francis_1, Jeff Francis, Tbtix, Tania, markburrell, Roland, Paris Stam, Caleb, Alan Miller, ben_farrelly
Moderators: W Pirkle: 412
Administrators: Tom: 74, JD Young: 80, Will Pirkle: 0, W Pirkle: 412