comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Save a program with DICOM object
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Save a program with DICOM object [message #31663] Fri, 26 July 2002 08:14
lsyrkin is currently offline  lsyrkin
Messages: 9
Registered: May 1999
Junior Member
I am trying to make a .sav file of a simple program:

pro dcmhdr

; create a DICOM object, read a DICOM file and dump its contents:
dcm_in=DIALOG_PICKFILE(TITLE='Choose DICOM file for dump')
obj = OBJ_NEW( 'IDLffDICOM' )
var = obj->Read(dcm_in)
obj->DumpElements

; dump the contents of the current DICOM object to a file

hdr_out=DIALOG_PICKFILE(TITLE='Choose file to write DICOM dump')
obj->DumpElements, hdr_out
OBJ_DESTROY, obj

END

I saved it in the dcmhdr.sav file. When I run this program it stops
with the message:

Attempt to call undefined procedure/function: IDLFFDICOM__DEFINE

I found in the newesgroup exchange that for objects you have to
explicitly compile '...__DEFINE' module and then save it. The problem
is that I couldnot find where is IDLFFDICOM__DEFINE and what I should
compile in this case.

What should I do to make a stand alone application dcmhdr.sav?
I use IDL 5.3 on WinNT.

Thank you in advance,
Leonid Syrkin
[Message index]
 
Read Message
Previous Topic: Re: Trip to Ol' Stomping Grounds
Next Topic: Re: Save a program with DICOM object

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 14:36:36 PDT 2025

Total time taken to generate the page: 1.35699 seconds