samintz
Scott Mintz
- May
- 1,590
- 27
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.
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.