problem with executable extensons with TCC version 19.10.51 x64

Aug 19, 2016
14
0
I'm having a problem with executable extensons with TCC version 19.10.51 x64.
I'm not sure that the fault lies with this version or even TCC, but this used to work,
and All I can think of is that I have upgraded TCMD lately:

I have this version of tcc:
TCC 19.10.51 x64 Windows 7 [Version 6.1.7601]
Copyright 2016 JP Software Inc. All Rights Reserved
Registered to Craig Fitzgerald

I have setup an environment variable to associate perl files with the executable:
[C:\util\tcmd]set | grep \.pl
.pl=c:\perl\bin\perl.exe
CMDLINE2=set | grep \.pl

When I attempt to run the script, tcc crashes:
[C:\projects\logscan]logscan.pl
Error (SYS): Invalid class string

The event viewer gives me the following application error:
Faulting application name: TCC.EXE, version: 19.10.51.0, time stamp: 0x573946ed
Faulting module name: TakeCmd.dll, version: 19.10.51.0, time stamp: 0x573b101e
Exception code: 0xc0000005
Fault offset: 0x000000000010b1a9
Faulting process id: 0x430
Faulting application start time: 0x01d1fa293dd60778
Faulting application path: C:\util\tcmd\TCC.EXE
Faulting module path: C:\util\tcmd\TakeCmd.dll
Report Id: 4a417398-661d-11e6-a0d4-480fcf5dedcf

I can run the script without issues if I dont use the executable extensons feature:
[C:\projects\logscan]perl logscan.pl
(works fine)

[C:\projects\logscan]c:\perl\bin\perl.exe logscan.pl
(works fine)

Any ideas?
 
An update:
I tried this:
set .pl=
ftype Perl.File="c:\Perl\bin\perl.exe" %*
assoc .pl=Perl.File

But the results were the same (including the event message)
 

Similar threads