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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Failed to load tcom

Status
Not open for further replies.

jmcastellano

Technical User
Apr 4, 2013
2
US
I am trying to use tcom to run an Excel macro from tcl.
There are several posts on the forum in various states regarding this.
I have downloaded version 3.9 tcom from:
And put the files where indicated. However the next step:
package require tcom
Does not work. I get the following error message:
couldn't load library "C:/Tcl/lib/tcom/tcom.dll": invalid argument

I can go to the directory and see the tcom.dll file, it is there are is readable.
I have also tried a suggestion to use:
teacup install tcom
I get this long error:
Resolving tcom ... Not found in the archives.

While a more fuzzy search disregarding letter case and accepting
substrings was done, we are sorry to say that it yielded no possible
candidates for installation either.

Questions to consider:
Have you spelled the name correctly ?
Including the proper case of characters ?

Note that teacup's 'search' command allows you to locate packages by
subject, categories, and the like.


Aborting installation, was not able to locate the requested
entity.
_______________________________
I can certainly see tcom is there in the directory.

PC is running Windows 7, could that be the problem? Tcl version 8.5.12

Any help with this is appreciated.
 
Thanks mikrom,
I had already seen two of those links.
Are you using Windows 7?
 
Are you using ActiveTcl ?
I have installed tcom only on Windows XP and Windows Vista - I didn't try it on Windows 7 till now.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top