INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

Failed to load tcom

Failed to load tcom

(OP)
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:
http://www.vex.net/~cthuang/tcom/
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.

RE: Failed to load tcom

(OP)
Thanks mikrom,
I had already seen two of those links.
Are you using Windows 7?

RE: Failed to load tcom

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.

RE: Failed to load tcom

If you have 64-bit Windows with 64-bit Tcl installed, then maybe the answer for your problem is here:
http://community.activestate.com/forum/cant-instal...
They say, that tcom is available only for 32-bit tcl - so you should install 32-bit Tcl on your 64-bit Windows.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close