Internal Lua and require

I am using;
TCC  16.03.54  Windows Vista [Version 6.0.6002]
TCC Build 54  Windows Vista Build 6002  Service Pack 2

I am attempting to use an external lua library;
which lua
lua is an internal command


Lua 5.2.3  Copyright (C) 1994-2013, PUC-Rio
> require "luacom"
stdin:1: module 'luacom' not found:
  no field package.preload['luacom']
  no file 'C:\Program Files\JPSoft\TCMD16\lua\luacom.lua'
  no file 'C:\Program Files\JPSoft\TCMD16\lua\luacom\init.lua'
  no file 'C:\Program Files\JPSoft\TCMD16\luacom.lua'
  no file 'C:\Program Files\JPSoft\TCMD16\luacom\init.lua'
  no file '.\luacom.lua'
  no file 'C:\Program Files\Lua\5.1\lua\luacom.luac'
  no file 'C:\Program Files\JPSoft\TCMD16\luacom.dll'
  no file 'C:\Program Files\JPSoft\TCMD16\loadall.dll'
  no file '.\luacom.dll'
stack traceback:
  [C]: in function 'require'
  stdin:1: in main chunk
  [C]: in ?
The lua library that I want to use is located at;
C:\Program Files\Lua\5.1\clibs\luacom.dll

Is there a way to make TCC seach C:\Program Files\Lua\5.1\clibs for a library?

Similar threads
Thread starter Title Forum Replies Date
T Returning a value from internal Lua scripts to TCC Support 2
fpefpe How to? free (internal) command Support 0
Joe Caverly Documentation Replace internal command with LIBRARY command Support 0
rps For loop internal %_for_files variable? Support 2
Joe Caverly Why does TCCRT return VIEW as an internal command? Support 6
F How to? Disable TCC's internal response to Alt-F4 Support 8
vefatica @EVAL's internal precision? Support 9
jfalch WAD internal "which" should check for FILEEXIST when using AppPaths entry Support 8
P Can't disable internal tar, at least in pipes Support 3
M Keywords for commands, functions, internal variables Support 3
D WAD Internal variable _cpu is undefined Support 2
E View (internal command) does nothing now Support 3
D Minor problem. Incorrect value internal var _dir_files Support 7
jbanaszczyk Alias for internal command Support 8
R Fixed Internal ZIP command fails to process multiple files Support 3
D Internal variable _tctabs within TCExit Support 9
mikea Questions re: Internal ZIP command Support 5
epement no internal help for 'v' in TCmd v14 Support 6
R Override TCC internal commands Support 2
H [4NT8] Internal Start-command and _? variable Support 5
G 4NT 9.02 _shell internal variable Support 50
T Take Command 28: Lua reports version 5.4.0 (5.4.3 expected) Support 0
fpefpe Documentation LUA and friends Support 4
H Lua and lpeg Support 1
D Lua does not work on the commandline Support 5
D Fixed @Lua does not behave as documented Support 8
fpefpe How to? LUA script Support 0
fpefpe How to? Lua Examples Support 1
H lua Causes Take Command Tab to Exit Support 5
jbarnes1967 TC 18.00 x64 issue with lua io.popen() Support 2
M How to make Lua modify env-vars Support 18
jbanaszczyk LUA, tcmd.chm, TCC/LE problem Support 0
Jay Sage Executable Extension with Lua Support 5
tmaynard Invalid item name "Lua" Support 6
vefatica Help LUA Support 1
T Lua sharing data with batch files Support 2
JohnQSmith Documentation Lua Support 0
p.f.moore Lua for Take Command, release 1.0 Support 0
T Plugins for Lua and Idle Support 4

Similar threads