Will my app pass validation if I use std::fstream? RRS feed

  • Question

  • Certification requirement 3.1 says only metro APIs are allowed, but according to this thread the CRT is ported to WinRT. If no synchronous file APIs exist, then how does fstream work?
    Monday, April 16, 2012 8:37 PM


  • Given your other recent posts I assume this is a rhetorical question, but you can confirm this yourself by running a test app through the Windows App Cert Kit.

    Since fstream is synchronous and could block the thread I would be very careful calling it for any lengthy file on the UI thread.


    Tuesday, April 17, 2012 1:06 AM