Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

TCC in WT, XDIR, Ctrl-E(dit) - the handle is invalid

May
15,047
271
1776967059989.webp
 
It has something to do with WT/TCC being elevated. It's OK in WT/TCC unelevated and it's OK in TCMD/TCC elevated!
 
The first of these works in TCC/WT elevated. The second does nothing.

Code:
v:\> d:\tc36\tcedit.exe v:\apppaths.btm

v:\> tcedit v:\apppaths.btm
 
That's not reproducible here either.

TCEDIT is partially an internal command and partially an external command. When you run TCEDIT from the command line, it goes to the internal command, gets the path of the TCC session and appends "\tcedit.exe", and then executes it.

The reason for doing it internally is so TCEDIT can do things like edit the CLIPn: or TMPn: pseudo devices, edit files on internet URLs, support directory aliases, edit TCMD.INI / TCSTART / TCEXIT (without you having to know where they are),

So there's really no way that can go bad unless you're doing something very naughty, like running TCC from a different directory than where TCEDIT.EXE is located, or disabling the TCEDIT internal command, or aliasing it away, or mangling the command line in a plugin or a PRE_EXEC alias.
 
It's like I said before. I'm not doing any of those naughty things. I don't know what to do next.
 
What about registration? When I try to register TCC or TCMD, elevated or unelevated, with a key dated 04/12 I get a message box with [10013] Access Denied. When I enter the key and press "Show License Info" it looks OK on quicklicensemanager.com.
 
What about registration? When I try to register TCC or TCMD, elevated or unelevated, with a key dated 04/12 I get a message box with [10013] Access Denied. When I enter the key and press "Show License Info" it looks OK on quicklicensemanager.com.

This is the first I've heard about a registration problem. Please don't post registration questions / details here; send it to [email protected].
 
It's working now (build 35) in WT elevated (where it wasn't working before). I get no error or debug messages. It just works, Ctrl-E in XDIR and TCEDIT at the command line.
 
Back
Top