By registering with us, you'll be able to discuss, share and exchange private messages with other members of our community.
SignUp Now!No. I'm using it in TCMD. It's documented like this.Not sure why you're trying to use this; it's an obsolete function (since v8). It returns 1 if you're running the GUI command processor (i.e., TCMD 8.0) and 0 if you're running TCC or 4NT. And you're always running TCC.
BOOL QueryIsGUI( void );
/*
Returns 1 if TCC is running inside a Take Command tab window
*/
BOOL WINAPI InitializePlugin( VOID )
{
WCHAR szExpr[128] = L"%_PIPE %_TRANSIENT %_TCTAB";
ExpandVariables(szExpr, 0);
if ( lstrcmp(szExpr, L"0 0 0") )
return TRUE;