Sign in to follow this  
Roof Top Pew Wee

ImageInformation class not instantiating in Release mode on other comps.

Recommended Posts

This is truly one of the weirdest errors I've ever seen. My machine's got XP and I'm coding in VS 2003 C# using the April DX SDK. Everything runs perfectly in Debug and Release mode here on my machine. However, I couldn't get my program to run on a friend's machine who only had the runtimes installed. I know, sounds like your typical beginner's problem. But here's where it gets interesting. I started removing lines of code here and there, and I noticed that after removing some parts of the program, it ran on his machine as well (of course, built in Release mode). I slowly widdled it down to one line of code that caused the crash. Believe it or not, it was this: ImageInformation imageInfo = new ImageInformation(); If I removed it, everything ran just fine, if not, I'd get the "Application has generated an exception that could not be handled" error. I'm totally stumped as to why this is. The only difference that I think would even matter between our two machines is that I have the SDK installed and he only has the runtimes. Why would that one line determine whether the program crashes or fails? --Vic--

Share this post


Link to post
Share on other sites
And to top it off, I tried building one of the demos that come with the DX SDK, and that won't work on the other machine either. I'm building in Release, and I went to Settings->Control Panel and made sure that everything was in release mode. Anyone have any ideas?

--Vic--

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this