Welcome!

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

SignUp Now!

ISO8601 and TCC-RT

Aug
2,152
92
I have the following .BTM;
Code:
@setlocal
@echo off
ver /r
echo.
if isplugin iso8601 plugin /u iso8601
if isplugin sysutils plugin /u sysutils
if not isplugin iso8601 plugin /l c:\utils\iso8601-x64.dll
if not isplugin sysutils plugin /l c:\utils\sysutils64.dll
dir c:\utils\iso8601-x64.dll
echo.
plugin /i
endlocal

When I run it from CMDebug v21.01.57 x64, it works as it should;
Code:
TCC  21.01.57 x64   Windows 7 [Version 6.1.7601]
TCC Build 57   Windows 7 Build 7601  Service Pack 1
Registered to OPTIPLEX9010


 Volume in drive C is WINDOWS      Serial number is d4d0:ce4e
 Directory of  C:\utils\iso8601-x64.dll

11/10/2017  13:54          83,456  ISO8601-x64.dll
              83,456 bytes in 1 file and 0 dirs    86,016 bytes allocated
     673,556,762,624 bytes free

Module:      c:\utils\iso8601-x64.dll
Name:        ISO8601
Author:      Charles Dye
Email:       [email protected]
Web:         http://prospero.unm.edu/plugins/iso8601.html
Description: Adds support for ISO 8601 date formats
Implements:  @agedate,@date,@dateconv,@dateplus,@day,@days,@dectotime,@dow,@dowf,@dowi,@dowis,@doy,@easter,@filestamp,
@holiday,@idow,@idowf,@inlieu,@inrange,@isdate,@isholiday,@isodowi,@isoweek,@isowyear,@istime,@leap,@localdatetime,@ma
keage,@makedate,@month,@monthlen,@monthname,@nextdate,@nextdow,@ord,@pickdate,@roman,@timediff,@timefmt,@timeparts,@ti
meplus,@timetodec,@usweek,@utcdatetime,@year,_isodowi,_isordate,_isowdate,_isoweek,_isowyear,_t4,_tomorrow,_yesterday,
iso8601help,longyears,qcal
Version:     1.6  Build 2

Module:      c:\utils\sysutils64.dll
Name:        SYSUTILS
Author:      Vincent Fatica
Email:       moc.rr.yncwt@snigulp
Web:
Description: Various utilities
Implements:  _ISFG,_LASTINPUT,_MOUSEX,_MOUSEY,_NPIDS,_PERFCOUNT,_PERFFREQ,_PIDS,_RDTSC,_SESSTIME,_TICKCOUNT,_VOLUME,@C
LUSTERSIZE,@CONNECT,@CWD,@DOSDEVICE,@EXEBITS,@EXETIME,@FGWIN,@ICMP,@ISAPP,@ISPID,@KEYTIME,@LINKSTO,@MODULE,@PIDEXE,@PP
ID,@PSTAT,@PSET,@UP,@VIDEO,CLICK,EXPORT,KEYTIMES,LINKSTO,MODULES,MOVEWIN,OPENCP,PRNTRS,PROPS,PSTAT,REGENUM,SETPRIORITY
,SHELLEX,SHOWLIB,SS,SSMON,QTRACE,SYSHELP,TIMESYNC,UPTIME,VOLUME,WAITWIN,WHICHWIN,*KEYHANDLER
Version:     2016.730  Build 111624

When I run it from TCC-RT, the ISO8601 plugin cannot be loaded;
Code:
TCC-RT  21.01.56 x64   Windows 7 [Version 6.1.7601]
TCC-RT Build 56   Windows 7 Build 7601  Service Pack 1

TCC: (Sys) C:\Users\jlc\utils\test.btm [5]  A dynamic link library (DLL) initialization routine failed.
 "c:\utils\iso8601-x64.dll"

 Volume in drive C is WINDOWS      Serial number is d4d0:ce4e
 Directory of  C:\utils\iso8601-x64.dll

11/10/2017  13:54          83,456  ISO8601-x64.dll
              83,456 bytes in 1 file and 0 dirs    86,016 bytes allocated
     673,556,930,560 bytes free

Module:      c:\utils\sysutils64.dll
Name:        SYSUTILS
Author:      Vincent Fatica
Email:       moc.rr.yncwt@snigulp
Web:
Description: Various utilities
Implements:  _ISFG,_LASTINPUT,_MOUSEX,_MOUSEY,_NPIDS,_PERFCOUNT,_PERFFREQ,_PIDS,_RDTSC,_SESSTIME,_TICKCOUNT,_VOLUME,@C
LUSTERSIZE,@CONNECT,@CWD,@DOSDEVICE,@EXEBITS,@EXETIME,@FGWIN,@ICMP,@ISAPP,@ISPID,@KEYTIME,@LINKSTO,@MODULE,@PIDEXE,@PP
ID,@PSTAT,@PSET,@UP,@VIDEO,CLICK,EXPORT,KEYTIMES,LINKSTO,MODULES,MOVEWIN,OPENCP,PRNTRS,PROPS,PSTAT,REGENUM,SETPRIORITY
,SHELLEX,SHOWLIB,SS,SSMON,QTRACE,SYSHELP,TIMESYNC,UPTIME,VOLUME,WAITWIN,WHICHWIN,*KEYHANDLER
Version:     2016.730  Build 111624

ISO8601 works as it should in TCC 18 and TCC 21, but not in TCC-RT.

Joe
 
I'll take a look at it Monday. No promises, though. If TCC-RT doesn't export something that the plugin needs, then I may not be able to work around it.
 
Okay, give it a try with version 1.6.3.

Working Now. Thanks!
Code:
TCC-RT  21.01.58 x64   Windows 7 [Version 6.1.7601]
TCC-RT Build 58   Windows 7 Build 7601  Service Pack 1


 Volume in drive C is WINDOWS      Serial number is d4d0:ce4e
 Directory of  C:\utils\iso8601-x64.dll

11/13/2017  11:16          83,456  ISO8601-x64.dll
              83,456 bytes in 1 file and 0 dirs    86,016 bytes allocated
     667,177,164,800 bytes free

Module:      c:\utils\iso8601-x64.dll
Name:        ISO8601
Author:      Charles Dye
Email:       [email protected]
Web:         http://prospero.unm.edu/plugins/iso8601.html
Description: Adds support for ISO 8601 date formats
Implements:  @agedate,@date,@dateconv,@dateplus,@day,@days,@dectotime,@dow,@dowf,@dowi,@dowis,@doy,@easter,@filestamp,
@holiday,@idow,@idowf,@inlieu,@inrange,@isdate,@isholiday,@isodowi,@isoweek,@isowyear,@istime,@leap,@localdatetime,@ma
keage,@makedate,@month,@monthlen,@monthname,@nextdate,@nextdow,@ord,@pickdate,@roman,@timediff,@timefmt,@timeparts,@ti
meplus,@timetodec,@usweek,@utcdatetime,@year,_isodowi,_isordate,_isowdate,_isoweek,_isowyear,_t4,_tomorrow,_yesterday,
iso8601help,longyears,qcal
Version:     1.6  Build 3

Module:      c:\utils\sysutils64.dll
Name:        SYSUTILS
Author:      Vincent Fatica
Email:       moc.rr.yncwt@snigulp
Web:
Description: Various utilities
Implements:  _ISFG,_LASTINPUT,_MOUSEX,_MOUSEY,_NPIDS,_PERFCOUNT,_PERFFREQ,_PIDS,_RDTSC,_SESSTIME,_TICKCOUNT,_VOLUME,@C
LUSTERSIZE,@CONNECT,@CWD,@DOSDEVICE,@EXEBITS,@EXETIME,@FGWIN,@ICMP,@ISAPP,@ISPID,@KEYTIME,@LINKSTO,@MODULE,@PIDEXE,@PP
ID,@PSTAT,@PSET,@UP,@VIDEO,CLICK,EXPORT,KEYTIMES,LINKSTO,MODULES,MOVEWIN,OPENCP,PRNTRS,PROPS,PSTAT,REGENUM,SETPRIORITY
,SHELLEX,SHOWLIB,SS,SSMON,QTRACE,SYSHELP,TIMESYNC,UPTIME,VOLUME,WAITWIN,WHICHWIN,*KEYHANDLER
Version:     2016.730  Build 111624

Joe
 
@ORD was calling Evaluate(), which changed in TCC-RT v21. Evaluate() is a nice convenience function, but I can live without it.
 
Back
Top
[FOX] Ultimate Translator
Translate