Skip to content

When I run shared memory within a window service, Unable to read from applications as console application  #53

Description

@vinaydwivedi

private SharedMemory.SharedArray _buffer = _buffer = new SharedArray(@"Global\MARKETTICK", 200000); from within window service.

Try creating
SharedMemory.SharedArray _reader = new SharedArray(@"Global\MARKETTICK");

I Get "Access to the path 'Global\MARKETTICK_evt_write' is denied"

When I create the file without Global Prefix i.e.
private SharedMemory.SharedArray _buffer = _buffer = new SharedArray("MARKETTICK", 200000); from within window service.

from Console
SharedMemory.SharedArray _reader = new SharedArray(@"MARKETTICK");

I get file not found error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions