jmcastellano
Technical User
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.
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.