SetDCMsavetofile() crashes
Brought to you by:
crlab
I am using the exDicom ActiveX component in an app built
using MS Visual C++. It works very well. But when I load
an image into the control and then attempt to use the
DCMsavetofile (actually SetDCMsavetofile(LPCTSTR
filename.jpg) in this world I get a fatal error indicating an
invalid pointer. The webpage indicates that the filename
needs to be a WideString. I have tried to assure that it is.
The path, name, and file extension used do not seem to
matter.
Also: is there any means to rotate an image 90 degrees or
flip it over without resorting to Win32 system calls?
Logged In: NO
Sorry, I didn't indicate who I am:
Dave Witten
wittend@wwrinc.com
Logged In: NO
Sorry, I didn't indicate who I am:
Dave Witten
wittend@wwrinc.com
Logged In: YES
user_id=996056
I used this 'function' in an ASP page. I quoted the word
function because I finally got this to work when using
DCMsaveToFile as a property. Instead of the normal:
ezDicomObj.DCMsaveToFile(myFilename)
I found this to work:
ezDicomObj.DCMsaveToFile = myFilename
After much thought and anger, I figured this out. Hope it
helps anyone else having this problem!