Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help with exif::analyzeFile

Status
Not open for further replies.

ElmoKid

Programmer
Jul 31, 2007
2
KR
Hello,

I am using ActiveTcl8.4.14.0.272572-win32-ix86-threaded on Windows XP.

I have just started using tcl and am trying to use the proc exif::analyzeFile and can not get it to work. I have used the "auto_mkindex" command to create a "tclIndex" file in the library directory ..../lib/tcllib1.9/exif and I have also used the "lappend" command to append the above full directory path to the auto_path variable (verified by printing out its contents).

When I try to use the

exif::analyzeFile filename.jpg

command I get an error message saying

invalid command name "exif::analyzeFile ..."

Any and all help will be appreciated.

 
does your script start with:
package require exif ?1.1?? It should.

_________________
Bob Rashkin
 
Thank you for your help. That fixed it.

I am working from a 1995 copy of Brent Welch's book "Practical Progamming in Tcl and TK" which covers Tcl 7.4 and Tk 4.0. I did not see any reference to the "package ..." command so I did not have it included. I was assuming that the "auto_path" variable contents would handle the necessary binding.

Time for me to get new documentation.

Thanks again.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top