In my Windows Store app I am using a C++ component in order to use a Sink Writer. I created a C++/WRL project for that with a function which accepts a stream as a parameter in order for the Sink Writer to write to. The type of this parameter is Windows::Storage::Streams::FileRandomAccessStream. Now it is giving the error saying that the namespace Windows::Storage is not known, and when I include the header file windows.storage.h the error is "use of undefined type 'ABI::Windows::Storage::Streams::FileRandomAccessStream'".
Does anyone know what the problem is and how to fix it?
Thanks in advance!
Ronald