This was started by Larry Lustig in the previous thread.
This code segment could be placed anywhere relative to its purpose.
Function declarations ONLY need to be done ONCE in an RBase session.
Once declared, the DLCall rbase function can be used anywhere, anytime in
an RBase session.
{Begin Code}
{ Original Win32 Function Declaration: LPTSTR WINAPI GetCommandLine(void);}
-- How to declare function in RBase:
IF (CHKFUNC('GetCommandLine')) = 0 THEN
STDCALL FUNCTION 'GetCommandLineA' alias 'GetCommandLine' () : TEXT
ENDIF
SET VAR vText TEXT = NULL
SET VAR vText = (DLCALL('Kernel32', 'GetCommandLine'))
PAUSE 2 USING .vText
RETURN
{End Code}
--
You received this message because you are subscribed to the Google Groups
"RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.