Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

ANNOUNCE: Tcl Windows API extension V0.5

2 views
Skip to first unread message

apnadkarni

unread,
Sep 15, 2004, 1:20:42 PM9/15/04
to
Version 0.5 of the Tcl Windows API extension has been
released. Project home page, including documentation,
examples and download links, is at:
http://twapi.sourceforge.net/

V0.5 Changes
------------

See http://twapi.sf.net/versionhistory.html for a complete list of
changes. The major focus has been on test coverage and bug fixes.

TWAPI Summary
-------------

The Tcl Windows API (TWAPI) extension provides access to
over 280 functions in the Windows API from within the Tcl
scripting language. The extension targets the Windows NT
family (NT 4.0, Windows 2000, Windows XP and Windows 2003),
and is not supported on the Windows 95/98/ME platforms.

Currently functions in the following areas are implemented:

- System functions including OS and processor information,
shutdown, message formatting

- User and group management

- Security and resource access control

- Window management - window attributes, position, size etc.

- User input: generation of key/mouse input and hotkey support

- Basic sound playback functions

- Configuration and control of Windows services

- Windows event log access

- Process, thread and DLL management

- OS handle management

- Windows file and print network shares

- Drive information, file system types etc.

- Network configuration and statistics

- Multiformat clipboard access

- Console mode functions for changing attributes, titles,
screen buffers etc.

- System performance data

- Task scheduler

royt...@earthlink.net

unread,
Sep 15, 2004, 8:33:55 PM9/15/04
to

apnadkarni wrote:
> Version 0.5 of the Tcl Windows API extension has been
> released. Project home page, including documentation,
> examples and download links, is at:
> http://twapi.sourceforge.net/
>
> V0.5 Changes
> ------------
[great stuff!]
...

Thanks for this update. TWAPI
is yet another reason for
choosing Tcl/Tk on Windows.

Roy

Robert

unread,
Sep 15, 2004, 10:24:32 PM9/15/04
to
Very cool indeed. Thanks a bunch!

Robert


Cameron Laird

unread,
Sep 19, 2004, 5:08:05 PM9/19/04
to
In article <cian1j$e...@odah37.prod.google.com>,

<royt...@earthlink.net> wrote:
>...
>
>Thanks for this update. TWAPI
>is yet another reason for
>choosing Tcl/Tk on Windows.
>
>Roy
>

Roy, please say this a bit more slowly, for my benefit.
Is it that TWAPI helps make Windows-oriented Tcl-based
development a good idea, or does Tcl enjoy a unique
advantage over other languages specific to Windows, or
...?

Bob

unread,
Sep 20, 2004, 10:00:29 AM9/20/04
to
cla...@lairds.us (Cameron Laird) wrote in message news:<o77122-...@lairds.us>...
I cannot speak for him but I am always looking for ways to use Tcl to
do my Windows admin stuff. I currently use Perl and Perl does make
some things easier but that may be because 1) I am not an "degreed"
programmer and 2) I am just learning Tcl.

Just my .01 (taxes you know) ;-)

Robert

Cameron Laird

unread,
Sep 20, 2004, 11:08:03 AM9/20/04
to
In article <1001ff04.0409...@posting.google.com>,
Bob <bo...@linuxmail.org> wrote:
.
.
.

>> Roy, please say this a bit more slowly, for my benefit.
>> Is it that TWAPI helps make Windows-oriented Tcl-based
>> development a good idea, or does Tcl enjoy a unique
>> advantage over other languages specific to Windows, or
>> ...?
>I cannot speak for him but I am always looking for ways to use Tcl to
>do my Windows admin stuff. I currently use Perl and Perl does make
>some things easier but that may be because 1) I am not an "degreed"
>programmer and 2) I am just learning Tcl.
.
.
.
This intrigues me. Perl on Windows is a wonderful thing,
a technology which greatly simplifies many otherwise-un-
pleasant chores.

In comparison to traditional Windows approaches, that is.
I know of no particular advantages Perl has over Tcl under
Windows. And I am wild about the ease of deployment
Starkit gives me with Tcl.

What Perl do you install on your Windows hosts? How do
you deploy applications?

Cameron Laird

unread,
Sep 20, 2004, 3:08:03 PM9/20/04
to
In article <r57322-...@lairds.us>, I wondered:

I've managed to confuse things. Bob replied to me privately,
but we've agreed to bring this back to clt. Bob, a copy of this
is going both to you, and to the newsgroup.

He uses ActiveState's Perl and Tcl. I say those are good choices.

Advantages he sees Perl having over Tcl under Windows include:
*) "boss mindhare"
*) webability: "Apache2 ... kills any use of Rivet"
*) DBI
I agree. All of those make it easy to like Perl. He also has
preferred the Perl documentation he's encountered, specifically
for Oracle connectivity and registry access. I happen to like
Tcl's documentation in those regards, but I can see his point.

Why does Bob bother with Tcl at all? "... Tk is up-to-date.
Tcl/Tk code looks a wee bit cleaner than Perl/Tk ..." Also, he
likes the help we've given.

I have nothing to add.

Todd M Helfter

unread,
Sep 22, 2004, 9:45:54 AM9/22/04
to
In article <skk322-...@lairds.us>,

Cameron,

The next generation of Oratcl under development could be distributed with
Activestate Tcl or in general because it will no longer link with Oracle
libraries. It uses the Oracle 10 dll and does dynamic function calls to
that dll.

So maybe one day soon, we can have a more generic distributable database
API.

Anybody want a beta copy of the windows 10g Oratcl???
Todd
--
Todd M. Helfter <t...@purdue.edu>
Database Analyst/Programmer
IT Security and Privacy - Computing Accounts
Purdue University

Cameron Laird

unread,
Sep 22, 2004, 11:08:03 AM9/22/04
to
In article <cirvmi$1md$1...@mozo.cc.purdue.edu>,
Todd M Helfter <t...@jumpgate.itsp.purdue.edu> wrote:
.
.
.

>The next generation of Oratcl under development could be distributed with
>Activestate Tcl or in general because it will no longer link with Oracle
>libraries. It uses the Oracle 10 dll and does dynamic function calls to
>that dll.
.
.
.
Yippee!

Jeff Hobbs

unread,
Sep 22, 2004, 12:14:18 PM9/22/04
to Todd M Helfter
Todd M Helfter wrote:

> The next generation of Oratcl under development could be distributed with
> Activestate Tcl or in general because it will no longer link with Oracle
> libraries. It uses the Oracle 10 dll and does dynamic function calls to
> that dll.
>
> So maybe one day soon, we can have a more generic distributable database
> API.

I don't suppose that the same trick would work on unix with
whatever .so's Oracle might distribute?

--
Jeff Hobbs, The Tcl Guy
http://www.ActiveState.com/, a division of Sophos

Robert

unread,
Sep 22, 2004, 10:42:34 PM9/22/04
to
"Todd M Helfter" <t...@jumpgate.itsp.purdue.edu> wrote in message
news:cirvmi$1md$1...@mozo.cc.purdue.edu...
<snip>

> Anybody want a beta copy of the windows 10g Oratcl???
> Todd
> --
> Todd M. Helfter <t...@purdue.edu>
> Database Analyst/Programmer
> IT Security and Privacy - Computing Accounts
> Purdue University

Will that still work with the 9i series? I do not see my shop going to 10g
for a very long while yet.

Robert


Todd M Helfter

unread,
Sep 23, 2004, 9:40:34 AM9/23/04
to Robert

Maybe.

Its difficult to install multiple versions of Oracle on a 350mhz pentium.
(My build platform)..

This is designed to be used with the new 10g thin client libarys that Oracle
has created for 10g. You only get a few dll's ..

I see no reason that it wouldn't work with the 9i dlls.

-Todd

Ashok P. Nadkarni

unread,
Sep 27, 2004, 4:32:18 PM9/27/04
to
Version 0.5 of the Tcl Windows API extension has been
released. Project home page, including documentation,
examples and download links, is at:
http://twapi.sourceforge.net/

V0.5 Changes
------------

See http://twapi.sf.net/versionhistory.html for a complete list
of changes. Biggest changes are in test coverage and resulting
bug fixes.

TWAPI Summary
-------------

The Tcl Windows API (TWAPI) extension provides access to

over 250 functions in the Windows API from within the Tcl


scripting language. The extension targets the Windows NT
family (NT 4.0, Windows 2000, Windows XP and Windows 2003),
and is not supported on the Windows 95/98/ME platforms.

Currently functions in the following areas are implemented:

- System functions including OS and processor information,
shutdown, message formatting

- User and group management

- Security and resource access control

- Window management - window attributes, position, size etc.

- User input: generation of key/mouse input and hotkey support

- Basic sound playback functions

- Configuration and control of Windows services

- Windows event log access

- Process, thread and DLL management

- OS handle management

- Windows file and print network shares

- Drive information, file system types etc.

- Network configuration and statistics

- Multiformat clipboard access

- Console mode functions for changing attributes, titles,
screen buffers etc.

- System performance data

- Task scheduler

[[Send Tcl/Tk announcements to tcl-an...@mitchell.org
Announcements archived at http://groups.yahoo.com/group/tcl_announce/
Send administrivia to tcl-announ...@mitchell.org
Tcl/Tk at http://tcl.tk/ ]]

0 new messages