[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Locating a (bitmap) file
- Subject: Locating a (bitmap) file
- From: Dave Greenwood <greenwoodde(at)ornl.gov>
- Date: 28 NOV 2000 20:10:12 GMT
- Newsgroups: comp.lang.idl-pvwave
- Organization: Oak Ridge National Lab
- Sender: greenwoodde(at)feda34.fed.ornl.gov (Dave Greenwood)
- Xref: news.doit.wisc.edu comp.lang.idl-pvwave:22350
Using IDL 5.3 and Windows NT I've created an IDL windows application
(thanks to the kind folks who responded to my recent posting on the
subject). My application uses a couple of color bitmap labels which
are stored as .bmp files. The application will be used on multiple
systems, possibly in a separate location on each system. I'd prefer
not to hard code the location of the .bmp files. The question is how?
I suppose I could use findfile to search candidate locations, but
that still requires advance knowledge of each system where the
application is used.
I wouldn't mind requiring the .bmp and .sav files to be in the same
directory if I could somehow find out from within my application
where the .sav file is located. Is that possible? (I tried !DIR but
it points to some place in the RSI distribution.)
Is there a way to return a color bitmap from an IDL function like you
can with a b/w bitmap? That way I could compile the function and
store it in the save file.
Since I'm not particularly experienced with IDL, I'm hoping that I've
missed some (potentially obvious) way of dealing with this.
Thanks,
Dave
--------------
Dave Greenwood Email: Greenwoodde@ORNL.GOV
Oak Ridge National Lab %STD-W-DISCLAIMER, I only speak for myself