Of course the email client fudged up the SET VAR stuff at the code beginning,
so you will have to unwind them yourself.
The code example returns the "Desktop" folder as it is shown.
This whole code including the Constants, should be placed in a Stored Procedure
so you could just pass in your requested folder to a Switch/Endsw containing
all the TEXT to CONSTANT value conversions to setup the DLCALL.
You can put the test for the STDCALL segment:
IF (chkfunc('SHGetSpecialFolderPathA')) = 0 THEN
STDCALL function 'SHGetSpecialFolderPathA' ALIAS 'SHGetSpecialFolderPath' +
(Integer, Integer, ptr TEXT (260), Integer) : Integer ENDIF
in the beginning of the stored procedure or the beginning of your APP (would be
better as STDCALL only needs to be executed ONCE for any external function for
ANY session)
> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On Behalf Of TOM
> HART
> Sent: Friday, July 10, 2015 7:34 PM
> To: RBASE-L Mailing List
> Subject: [RBASE-L] - Desktop
>
> How do you send a file to desktop in Rbase. I know you can output
> c:\whatever, but what is the command to send to desktop
>
> Tom Hart
>
--- RBASE-L
=======================3D=======================3
D=
TO POST A MESSAGE TO ALL MEMBERS:
Send a plain text email to [email protected]
(Don't use any of these words as your Subject:
INTRO, SUBSCRIBE, UNSUBSCRIBE, SEARCH,
REMOVE, SUSPEND, RESUME, DIGEST, RESEND, HELP)
=======================3D=======================3
D=
TO SEE MESSAGE POSTING GUIDELINES:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: INTRO
=======================3D=======================3
D=
TO UNSUBSCRIBE:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: UNSUBSCRIBE
=======================3D=======================3
D=
TO SEARCH ARCHIVES:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: SEARCH-n
(where n is the number of days). In the message body,
place any
text to search for.
=======================3D=======================3
D=