Hi,
I have created a C# Windows store app, In my app I am opening a file from OneDrive by using file picker. After pressing the open button from file picker, I have the below code
IRandomAccessStream imageFileRAStream = await file.OpenAsync(FileAccessMode.Read);
Here OpenAsync API raises the below exception and unable to sets the source image for a BitmapSource.
Error HRESULT E_FAIL has been returned from a call to a COM component.
Kindly help in resolving this issue.
Ashok
No comments:
Post a Comment