Writing to an open document!

Hallo,

It may sound a silly and stupid question. Still please answer my question.I starts an application A written in vc++. This program opens a file F and then it calls another application B. Application B now try to write into this file F which has been opened by A. This is the scenario. Is it possible to realize this

Thanks n Regards
Swingme




Answer this question

Writing to an open document!

  • Kiran Kirdat

    Hallo Martin&Nishant,

    Thanks you for ur kind reply. Will try it...

    Regards
    swingme



  • lost_in_ssl

    swingme wrote:
    Hallo,

    It may sound a silly and stupid question. Still please answer my question.I starts an application A written in vc++. This program opens a file F and then it calls another application B. Application B now try to write into this file F which has been opened by A. This is the scenario. Is it possible to realize this

    Thanks n Regards
    Swingme


    If you are using CFile, look at CFile::shareDenyNone



  • PhilMan99

    But take care about synchronisation You should use some kind of locks to protect file corruption when to processes write to the file.

  • Writing to an open document!