Charles,
Are you on an e-mail sabbatical?
I'm having a problem with DLLC under Windows 7 where I'm getting a false error message saying the DLL(s) can't be found even though they are loaded and the script runs as expected. I took a quick peek at the dllfile() function and the first thing that caught my eye is that e isn't define, passed as an argument and is assumed to be the end value for the FOR/NEXT.
function dllfile (sys pSt, ppModuleInternal, pParameters, pReturnValue) as sys
==============================================================================
'
c=0
if pParameters
CountParams pParameters,c
end if
'
if c=0
for i=1 to e
if ll[i].metatype=1
freelibrary ll[i].handle
end if
next
exit function
end if
'
e++
ll[e].metatype=1 'metatype LIBRARY=1
'
pm=GetParamPtr pparameters,1
ll[e].name=GetStringParam pst,pm
ll[e].handle=LoadLibrary ll[e].name
if ll[e].handle=0
print "DLL File not located: " ll[e].name
end if
blib=e
'
*pReturnValue=ReturnLong(pst,e) 'return the library handle
'
end function