Menu

#1 SetDCMsavetofile() crashes

open
nobody
None
5
2002-11-20
2002-11-20
Anonymous
No

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?

Discussion

  • Nobody/Anonymous

    Logged In: NO

    Sorry, I didn't indicate who I am:

    Dave Witten
    wittend@wwrinc.com

     
  • Nobody/Anonymous

    Logged In: NO

    Sorry, I didn't indicate who I am:

    Dave Witten
    wittend@wwrinc.com

     
  • Keith Markfield

    Keith Markfield - 2004-05-18

    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!

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.