Groups | Search | Server Info | Keyboard shortcuts | Login | Register


Groups > comp.os.msdos.programmer > #4411

Re: DOS 5 QBASIC (in XPsp3) write to win32 named pipe ?

From "R.Wieser" <address@is.invalid>
Newsgroups comp.os.msdos.programmer
Subject Re: DOS 5 QBASIC (in XPsp3) write to win32 named pipe ?
Date 2024-03-09 10:14 +0100
Organization A noiseless patient Spider
Message-ID <ush9a2$28bf2$2@dont-email.me> (permalink)
References <usc8ho$114gi$1@dont-email.me>

Show all headers | View raw


> The thing is that it works when, in QBASIC, I open the file "for binary"
> and "put" the data.

After more testing it looks like that even the above "for binary" method is 
not fully stable : while I can run a QBasic program using the above method, 
re-running it (SHIFT F5) works when talking to one Win32 (GUI) program, but 
the second file-opening fails when talking to another Win32 (console) 
program.

As a 16-bit DOS program didn't seem to suffer from the same I loaded the INT 
21h open, write and close functions as binary blobs into the QBasic program 
and used them with "CALL absolute()".  It now seems to function quite well, 
regardles of the used Win32 "server" program (though the stress-test still 
needs to be done).

Question :

Although accessing arguments in the binary blob that where provided to the 
"CALL absolute()" function works, I've never been able to check the 
arguments type (integer, string, etc).   Does anyone remember/know how to do 
that ?

Regards,
Rudy Wieser

Back to comp.os.msdos.programmer | Previous | NextPrevious in thread | Find similar


Thread

DOS 5 QBASIC (in XPsp3) write to win32 named pipe ? "R.Wieser" <address@is.invalid> - 2024-03-07 12:30 +0100
  Re: DOS 5 QBASIC (in XPsp3) write to win32 named pipe ? "R.Wieser" <address@is.invalid> - 2024-03-07 14:40 +0100
    Re: DOS 5 QBASIC (in XPsp3) write to win32 named pipe ? "Auric__" <not.my.real@email.address> - 2024-03-07 17:16 +0000
      Re: DOS 5 QBASIC (in XPsp3) write to win32 named pipe ? "R.Wieser" <address@is.invalid> - 2024-03-07 19:30 +0100
  Re: DOS 5 QBASIC (in XPsp3) write to win32 named pipe ? JJ <jj4public@outlook.com> - 2024-03-08 12:23 +0700
    Re: DOS 5 QBASIC (in XPsp3) write to win32 named pipe ? "R.Wieser" <address@is.invalid> - 2024-03-08 11:18 +0100
      Re: DOS 5 QBASIC (in XPsp3) write to win32 named pipe ? JJ <jj4public@outlook.com> - 2024-03-09 14:59 +0700
        Re: DOS 5 QBASIC (in XPsp3) write to win32 named pipe ? "R.Wieser" <address@is.invalid> - 2024-03-09 09:56 +0100
          Re: DOS 5 QBASIC (in XPsp3) write to win32 named pipe ? "R.Wieser" <address@is.invalid> - 2024-03-12 10:14 +0100
  Re: DOS 5 QBASIC (in XPsp3) write to win32 named pipe ? "R.Wieser" <address@is.invalid> - 2024-03-09 10:14 +0100

csiph-web