<<
if (chkfunc('GetCommandLine')) = 0 then
  stdcall function 'GetCommandLineA' alias 'GetCommandLine' () : TEXT
endif

SET VAR vresult = (dlcall('Kernel32', 'GetCommandLine'))
RETURN
>>

Nice catch!  I'll give it a try.

You don't know, by any chance, if one were to write one's own DLL in Delphi for 
this purpose, would the Delphi standard library function Param() correctly get 
the parameters from the original EXE command line?  That would be sweet (let 
Delphi parse them out and return them pickled and comma separated to R:Base).
--
Larry

Reply via email to