I have been trying to use code to take a string entered by the user and put it into the file name of the image something like this
err = EdsCreateFileStream(filenamez,kEdsFileCreateDisposition_CreateAlways, kEdsAccess_ReadWrite, &stream);
however this isn't working and gives me strange errors when i take the picture from the UI any thoughts?
Tue, 15 Jun 2010 12:30:53 +0000
Unhandled exception at 0x0052bb7d in CameraControl.exe: 0xC0000005: Access violation reading location 0x00000020.
is the error
Tue, 15 Jun 2010 12:52:11 +0000
I'm guessing that the EdsCreateFileStream function couldn't write the stream and threw an exception due to a number of possible reasons:
It's too bad the error message isn't very helpful. Is it possible to catch the exception and read out the exact error message from the exception? That will probably pin-point to the exact problem.
Tue, 15 Jun 2010 14:17:27 +0000
Did your message disappear? Read the Forums FAQ.
Spam Control | * indicates required field
TrackBack only accepted from WebSite-X Suite web sites. Do not submit TrackBacks from other sites.
No TrackBacks yet. TrackBack can be used to link this thread to your weblog, or link your weblog to this thread. In addition, TrackBack can be used as a form of remote commenting. Rather than posting the comment directly on this thread, you can posts it on your own weblog. Then have your weblog sends a TrackBack ping to the TrackBack URL, so that your post would show up here.
Messages, files, and images copyright by respective owners.