Re: Write my own library/extension or create package that calls external program?
- From: "Eckhard Lehmann" <ecky-l@xxxxxx>
- Date: 6 Mar 2006 00:42:00 -0800
Kevin Walzer wrote:
Adrian gave the same points of view that I would have given... It is
mainly really a matter of deployment. If you want to deploy the
resulting application it could be very obstructive to have external
dependencies. You can make an installer that copies the files to
relevant locations, but does the user have write permissions? Does s/he
have another version of the tools installed that conflict with the
version your program needs? How about dependencies of the tools to
other tools/shared libraries? I would try to be as independent as
possible in this case.
It is another thing when I install the program on a machine that I know
inside out and where I have complete control. In this case it would be
absolutely feasible to use external tools and thus speed up the
development.
*a Tcl wrapper for the Mac's Carbon LaunchServices and IconServices
API's, to allow getting default icons for various file types and
applications
A good solution, I think. The API interface should be kept stable by
Apple and behind it, there should be always an updated (patched)
implementation. Also, this interface is available on all Mac OSX
computers, I would say.. (I never worked with Macintosh, but it should
not be different from windows or unix platforms, regarding this kind of
services).
*a Tcl extension that can read the .icns file format
This is more work, definitely. Maybe there is a static and even
platform independent library that can be employed for it? If so, it
boils down to writing a wrapper around this library.
osxutils, however, handles both of these issues beautifully--the
"geticon" tool solves all of my problems, though it's probably a bit slow.
As said, the easiest and fastest solution - and certainly adequate if
you can live with the small disadvantages of third party tools...
Eckhard
.
- References:
- Prev by Date: Re: tcl/expect log problem.
- Next by Date: Re: RamDebugger bgerror
- Previous by thread: Re: Write my own library/extension or create package that calls external program?
- Next by thread: question - text with picture
- Index(es):
Relevant Pages
|