QUOTE(shaneh @ Mar 1 2005, 05:18 PM)
If you read this link:
http://msdn.microsoft.com/visualc/vctoolkit2003/Microsoft make the optimizing compiler free for download, so I cant imagine youd have anything different. Besides, its very unlikely the optimisations it makes would be noticeable at all, in such a small piece of code. Optimisations on tight loops of code are done in any decent compiler, and youd be hard pressed to notice a difference between any. The optimising compiler does optimisations over the whole code to make it more efficent etc. Its only really noticiable on many many different instructions with highly abstracted code. Not with tight loops over the same instructions.
Here is a blurb from the Amazon.co.uk website (where I bought it):
"This is the Standard edition, which is primarily intended for learning. Although it has all you need to create both Windows and Web applications, the compiler is non-optimising. Professional developers should consider Visual Studio.NET Professional Edition 2003, which includes a more advanced version of Visual C++ as well as the other .NET languages such as Visual C# and Visual Basic."
I understood that to mean it wouldn't use anySSE/SIMD instructions, but I looked at the Amazon.com web site and there they say explicitly that the standard version does optimize.
QUOTE(shaneh @ Mar 1 2005, 05:18 PM)
The Debug build makes a *huge* difference, and is obviously your problem. Try different builds, and compiler options. Are you using the original project files with compiler options included? (I assume so, if you have those build names). If not, there are *many* different compile options which could be causing issues. HAve you tried the ANSI release build yet?
Yeah, debug does make a difference alright. I haven't tried ANSI release yet, but will.
QUOTE(shaneh @ Mar 1 2005, 05:18 PM)
It could also be your version of msvcr.lib that you are linking against. In VS.net 2003, it links to msvcr71.dll, which does things like stack protection and so forth. In older versions, msvcr.lib links to msvcr.dll, which is a bit leaner, but not as mature.
Did it ask to convert the project when you loaded it? IF so, try going in and turning stack protection off (the /GS or something switch), because it was probably enabled.
Yes it did ask to convert. I'll give everything a try. I can't thank you enough for all the pointers. This is all a bit overwhelming at first. I have managed to modify the plugin so that it loads two impulse files, computes FFTs on them and updates the user interface. Unfortunately, it freezes when I hit play--one hurdle at a time. I actually never thought I would get this far in just one day.
thanks again, John