CPallini is right. If the handle is not inheritable (which is the default), you can't use it from another process.
If you know the name of the file, you can try to open it with
FILE_SHARE_READ | FILE_SHARE_WRITE
If you don't know the name of the file, you can try to get it from its handle there: