Open a file

  • Thread starter Thread starter Peter Larsen []
  • Start date Start date
P

Peter Larsen []

Hi,

How do i open a file in the following format:

"::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\\::{416651E4-9C3C-11D9-8BDE-F66BAD1E3F3A}\\856736438458\\Docs\\Test.TXT"

The path points to a file located on my Nokia mobil phone.
The SFGAO_FILESYSTEM attribute is set for the file, but not the SFGAO_STREAM
attribute.

Thank you in advance.
BR
Peter
 
Peter,
How do i open a file in the following format:

"::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\\::{416651E4-9C3C-11D9-8BDE-F66BAD1E3F3A}\\856736438458\\Docs\\Test.TXT"

The path points to a file located on my Nokia mobil phone.
The SFGAO_FILESYSTEM attribute is set for the file, but not the SFGAO_STREAM
attribute.

Not using regular file I/O APIs. Since this is a path in the shell
namespace, you have to use the shell APIs to work with it. If you have
an IShellFolder object for the containing folder, you can probably get
to the data by calling GetUIObjectOf(IID_IDataObject).


Mattias
 
Hi Mattias,

Do you know how to create the file (test.txt in the sample string) ?

/Peter
 
Back
Top