Welcome!

By registering with us, you'll be able to discuss, share and exchange private messages with other members of our community.

SignUp Now!

WAD FILEWRITE using SMOPEN

samintz

Scott Mintz
May
1,580
28
I was wondering if I could implement a pseudo-clipboard using the new shared memory routines and tried to issue a @FILEWRITE using the handle returned from @SMOPEN.

First, the @filewrite returned the number of chars written, indicating that it had succeeded. Second, I used @SMPEEK to dump out the contents of my shared memory and the string had not been written there.

I would expect that either the @filewrite fails given that I passed in a handle that was not created from @fileopen, or that the @filewrite would have written to the shared memory.
 

Similar threads

Back
Top