Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

How to call MS-Word from an external application to open a file by specifying memory locaton of the file?

I want to call MS-Word from an external application to open a file.

As you know this is quite simple. But I want to open the file not by its name but by its memory location.

So I would like to know is there anyway to open a file only by specifying memory location

Thanks in advance

2 Answers

Relevance
  • Anonymous
    1 decade ago
    Favorite Answer

    Cross-process memory access is very difficult and I expect not possible because Windows does not allocate "fixed" memory locations for application-invoked memory requests. These are saved to "virtual" spaces that are moved to accomodate other memory requests. While you might be able to dump the system and find the file in memory, the next instant it might be swapped out or simply relocated during garbage collection/consolidation.

  • 1 decade ago

    Besides that, there are no command line switches in MS Word to accomplish this. Word is file-oriented, not memory- or process-oriented.

    Sorry.

Still have questions? Get your answers by asking now.