2. is there any way to convert it to the type PVOID from the memeory address
?
3. is the memory address i got from the debugger is the REAL memeory address
or the virtual one ?
will that be affect the way i address it ?
4. can i do pipeline so as unix do ?
void* SomeAddress; // Say contains instance to MyClass
MyClass* Instance = reinterpret_cast<MyClass*>( SomeAddress );
(maybe some other cast would work, but I know reinterpret_would)
Now use Instance.
> 2. is there any way to convert it to the type PVOID from the memeory
> address ?
PVOID = reinterpret_cast<PVOID>( SomeAddress );
(no matter what type of pointer SomeAddress is)
> 3. is the memory address i got from the debugger is the REAL memeory
> address or the virtual one ?
> will that be affect the way i address it ?
They are about the same, since windows does paging.
> 4. can i do pipeline so as unix do ?
If you mean something like:
myprogram > sort;
yes, read from std::cin, write to std::cout.
It's the virtual address. Only the kernel uses physical addresses.
> will that be affect the way i address it ?
Yes. It means the address is useless from any other program.
>
> 4. can i do pipeline so as unix do ?
Yes, Windows has pipes.
See my reply to your earlier message.