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

Home » Public Forums » archive » Re: IDL Application Development
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: IDL Application Development [message #46652 is a reply to message #46650] Thu, 08 December 2005 10:20 Go to previous messageGo to previous message
Rick Towler is currently offline  Rick Towler
Messages: 821
Registered: August 1998
Senior Member
David Fanning wrote:
> Peter Albert writes:
>
>
>> Just a remark, if your routines call objects, make sure to compile the
>> object routines beforehand, as as far as I know they are not resolved
>> by resolve_all.
>
>
> IF your object methods are all in the same file, and
> IF you have named your file correctly, and IF you
> put the routines in the proper order in the file
> (and who wouldn't, what with all the harping I do about it?),
> THEN you can use the CLASS keyword to RESOLVE_ALL
> to list your object classes and they will be
> resolved along with everything else.

The CLASS keyword... They sneak things in when you're not looking.
Will that pick up functions and procedures called within class methods?

FWIW, here is an example of a "makfile" that I use to build .sav files
that I wrote before 6.0 (when the CLASS keyword was introduced). It
works for me, if maybe a little wordy compared to one using the CLASS
keyword.

-Rick


; make_net3d.pro
; "makefile" for net3d.sav

; compile main program and resolve standard dependencies
resolve_routine, 'net3d', /compile_full_file
resolve_all

; objects and procedures called from within objects
; must be explicitly compiled
resolve_routine, 'cv_coord', /compile_full_file, /is_function
resolve_routine, 'reverse', /compile_full_file, /is_function
resolve_routine, 'linkedlist__define', /compile_full_file
resolve_routine, 'RHTgrAABB__define', /compile_full_file
resolve_routine, 'RHTgrQuaternion__define', /compile_full_file
resolve_routine, 'RHTgrGrid__define', /compile_full_file
resolve_routine, 'RHTgrCamera__define', /compile_full_file
resolve_routine, 'RHTgrDXFModel__define', /compile_full_file

; save the run-time "executable"
save, /routines, /compress, filename='net3d.sav'

end
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Debug
Next Topic: debug IDL DLM in Visual C++

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

Current Time: Sat Oct 11 11:05:40 PDT 2025

Total time taken to generate the page: 2.16378 seconds