Hi,
I have a process that creates a file in the application path. I need to get a reference to this file in order to flush or close it.
Making only;
would be enough?
Printable View
Hi,
I have a process that creates a file in the application path. I need to get a reference to this file in order to flush or close it.
Making only;
would be enough?
Not really sure what you mean. You can't flush or close file opened by process A from within a different process B.
Hi again,
I mean I'm opening a file from another dll. aFter a while I want to access this file ( somewhere at D: ) via QFile in order to flush it.
Then you need to get the exact same handle from that dll. Opening a new handle (through QFile) won't help.
use QDataStream and setDevice() function in it.
Hopes help you !
Tell me Ali Reza, why would using QDataStream help anything here?
by setDevice function, we can manage an IO device such as read specific bytes
If i underestand correctly.
:-)
oh
excuse me sir.
my post did not related.
excuse again ...