Nп/п : 2 из 4
 От   : Harriet Bazley                      2:5075/128        20 сен 23 14:30:17
 К    : All                                                   20 сен 23 16:33:04
 Тема : Extended command line from BASIC
----------------------------------------------------------------------------------
                                                                                 
@MSGID: <4ab1e0e65a.harriet@bazleyfamily.co.uk>
f43f623d
@REPLYADDR Harriet Bazley
<harriet@bazleyfamily.co.uk>
@REPLYTO 2:5075/128 Harriet Bazley
@CHRS: CP866 2
@RFC: 1 0
@RFC-Message-ID:
<4ab1e0e65a.harriet@bazleyfamily.co.uk>
@TZUTC: 0100
@PID: Messenger-Pro/8.04 (MsgServe/8.04)
(RISC-OS/5.29) NewsHound/v1.53-32 RC1
@TID: FIDOGATE-5.12-ge4e8b94
Can anyone remind me how you use the DDE_Utils commands from BASIC to
invoke a command-line program with a string of parameters that
potentially exceed 255 bytes in length (and thus give errors if
assembled into a BASIC string variable?)


So far as I can tell from inspection of what I was doing in !SideDiff
(which now crashes with a segmentation fault), you simply call
DDEUtils_SetCLSize to point the OS to your buffer and then
DDEUtils_SetCL to run the command, but there seems to be some element
missing...


DIM CLbuffer% 2600
SYS "DDEUtils_SetCLSize", 2600

$CLbuffer%="Show Wimp$Scrap"
SYS "DDEUtils_SetCL",CLbuffer%

does nothing, so far as I can see.

-- 
Harriet Bazley                     ==  Loyaulte me lie ==

Everyone hates me because I`m paranoid.
--- Messenger-Pro/8.04 (MsgServe/8.04) (RISC-OS/5.29) NewsHound/v1.53-32 RC1
 * Origin: A noiseless patient Spider (2:5075/128)
SEEN-BY: 5001/100 5005/49 5015/255 5019/40 5020/715
848 1042 4441 12000
SEEN-BY: 5030/49 1081 5058/104 5075/128
@PATH: 5075/128 5020/1042 4441



   GoldED+ VK   │                                                 │   09:55:30    
                                                                                
В этой области больше нет сообщений.

Остаться здесь
Перейти к списку сообщений
Перейти к списку эх