Is there a solution to cast a winrt StorageFile
object to FILE
handler (_iobuf
). I am trying to use external code with UWP application in which reading file using fopen gives This functionality is not supported in the context of an app container error.
I was looking at this solution: How can I get a Win32 HANDLE for a StorageFile or StorageFolder in UWP? but it is converting StorageFile to ComPtr and running external app with runFullTrust capability is not the best option.