Wow. You never know when you’ll run into an older server and need Method 2 listed on this page. Saved me this evening. Data got so big that a buffer overrun was occurring. Code was originally blamed but in reality this was a data issue.
Just wanted to put a quick note out there for those that may stumble on this issue. I was trying to modify an FX file in order to add an Effect to one my images in my WPF application. I was trying to do this by using a .fx file that was part of one of Nick Darnell‘s projects. Specifically HeatColorizer.fx. It wasn’t clear to me how to convert this file into the .ps file that my WPF application needed, and then I found WPF ShaderEffect Generator. I installed it, tried to run it and VS 2010 immediately crashed. Then I tried it on a VS 2008 project and it failed silently. I was stumped. Then, after more reading about PixelShaders, I realized that I needed the DirectX SDK. Well, maybe I didn’t “need” it – but it sure seemed like it would help. Sure enough – it was a huge help. VS 2010 no longer crashes and my .ps files appear to be properly generating. Hope this helps someone else out there.
Thanks for the code and efforts for the programming community Nick!
I have a couple laptops sitting around but I just took ownership of a new SSD drive and even though it is only 32 Gigs, i think it is really going to serve me well. The other bad thing is it is probably not as fast – but what IS good, I am going to try to make it so that it keeps the whole laptop cool enough to stay running. Yeah, the silly thing keeps cutting off after about 10 minutes. I think it is related to the super huge, high speed, power sucking, hot HD that I put in there. Its been doomed from the start. We’ll see – if it doesn’t solve it, I’ll give up on it – or maybe try pulling out the extra memory. Whatever, its time for an upgrade – but before we invest in that depreciating asset, we’ll give this a shot.
We are entering the iPhone App development arena. Pretty cool stuff. What is especially fun is watching the iPhone App development class in iTunes University on my iPhone. Unofficially, our team is attending Stanford. Cool! Looking forward to submitting an app by the end of January. We’ll keep you posted on that effort.