Re: pointer scope



Thanks,

What are mailslots?

"Günter Prossliner" <g.prossliner/gmx/at> wrote in message
news:e9Be33ZuHHA.4800@xxxxxxxxxxxxxxxxxxxxxxx
Hello Michael!

Pointers in C/C++ are they virtual memory addresses or are they real
addresses,

A Usermode Application only deals with virtual memory.

what I mean is if I have program 1, and send a pointer to
something to program 2, will it be an address that is not available to
program 2 or appears to be in program 2's vrtual memory space ?

It is simply not possible to pass an pointer to another process, since
each process has its own memory-space.

* Serialize the Data
* or you use memory mapped files
* or use a kind of communication protocoll like RPC, Named Pipes,
Mailslots or even Sockets.



:: GP



.



Relevant Pages

  • Re: pointer scope
    ... A Usermode Application only deals with virtual memory. ... or use a kind of communication protocoll like RPC, Named Pipes, Mailslots ...
    (microsoft.public.win32.programmer.networks)
  • Re: [Lit.] Buffer overruns
    ... > floating point support or a memory expansion option. ... had virtual memory support grafted on. ... > where the modified instruction was fetched from. ... vis-a-vis the official coporate strategic operating system TSS/360. ...
    (sci.crypt)
  • Re: scf /scannow & INFO in Event Viewer
    ... I know all about restore to ... pagefile to a low end of 2, ... The memory used by the user's ... Virtual Memory: Total paging file size for all drives is 2046MB ...
    (microsoft.public.windowsxp.general)
  • Re: virtual memory
    ... you can have virtual memory ... that software transparent swapping requires virtual memory. ... (since swapping it into physical memory is all or nothing). ...
    (comp.arch.embedded)
  • Re: Do I need a Page File?
    ... Intel designes the virtual memory. ... >> unlimited amounts of RAM, we wouldn't even NEED a paging file. ...
    (microsoft.public.windowsxp.general)