1 GB limit for Windows::Storage::FileIO::ReadLinesAsync?

Site Navigation.
1 GB limit for Windows::Storage::FileIO::ReadLinesAsync?.
Posted on by There seem to be a limit of 1GB for FileIO::ReadLinesAsync API even though is silent on this.

StorageFile EventStorageFile { TryGetFile(m_Configuration.m_ApplicationStorageFolder

m_FileName) }; if(!EventStorageFile) return; using namespace winrt::Windows::Storage; auto const LineVector { FileIO::ReadLinesAsync(EventStorageFile).get() }; Categories: Tags: , Leave a Reply Cancel reply.
You must be logged in to post a comment.
Previous Post: C++/WinRT version of SetFileTime Next Post: Theme: by Danny Cooper.

Tag: Opus

Site Navigation.
Tag: Opus.

Posted on by Media Foundation on Raspberry Pi 3 Model B+

Posted on by The interesting part with live WebM Media Foundation media source I mentioned in the previous post is that the whole thing works great on… Raspberry Pi 3 Model B+ running Windows 10 IoT Core (RaspberryPi 3B+ Technical Preview Build 17661).
Windows 10 IoT has quite the same Media Foundation infrastructure as in other Universal Windows… Read the full article Theme: by Danny Cooper.

GetHeadPosition(); Position; AudioPinList

Site Navigation.
Tag: ATL.

Range-based for with ATL Collections

Posted on May 30, 2015May 29, 2015 by ATL collection classes did not receive an update related to new C++11 range-based fors and other fancy features.
Well it’s a pity because writing for(auto&& pPin: AudioPinList) pPin-> //… compared to for(POSITION Position = AudioPinList.
GetHeadPosition(); Position; AudioPinList.

GetNext(Position)) { IPin* pPin = AudioPinList

GetAt(Position); pPin-> //… is indeed a relief

Namespace std is, of course.

Good but… Read the full article Three ways to implement VBScript (VB6

VBA) callback from C++/ATL class.
Posted on August 11, 2012August 11, 2012 by Suppose you have an automation object that needs to implement a callback into caller Visual Basic environment, which can be Scripting Host, Visual Basic for Applications, ASP etc.
With all the late binding in VB scripting and so much different C++ code – how to put everything together.
There are great choices, let us have… Read the full article LogProcessExceptions: Log Service Process Exceptions.
Posted on April 29, 2012April 28, 2012 by One of the nasty issues with LogProcessExceptions utility was that it was unable to attach to service processes and track them to catch their exceptions.
The actual problem was that the processes were not listed in first place, so there was nothing to attach to.
Access and security requirements necessary for a process to debug… Read the full article Enabling ATLTRACE output in Release configuration builds.
Posted on April 1, 2012April 1, 2012 by The original intent is pretty clear.

As MSDN states: In release builds

ATLTRACE2 compiles to (void) 0.
As simple as this, but once in a while you are in a situation where release build fails to work for unknown reason and you need additional information for troubleshooting, .

And then you remember that you had debug… Read the full article

Posted on by.

Posted on by ATLENSURE_SUCCEEDED double failure

Posted on July 19, 2011July 20, 2011 by A colleague pointed out that code snippet in previous post is misusing ATL’s ATLENSURE_SUCCEEDED macro making it [possibly] evaluate its argument twice in case of failure, that is evaluating into failure HRESULT code.

As it is defined like this: #define ATLENSURE_SUCCEEDED(hr) ATLENSURE_THROW(SUCCEEDED(hr)

hr) It does things in a straightforward way, for a code line ATLENSURE_SUCCEEDED(pFilterGraph.
CoCreateInstance(CLSID_FilterGraph));… Read the full article ← Older Posts Theme: by Danny Cooper.

Tag: RTM

Site Navigation.
Tag: RTM.
Posted on by Leave this field empty if you”re human: Archives Select Month July 2020 June 2020 May 2020 April 2020 March 2020 February 2020 January 2020 December 2019 November 2019 October 2019 September 2019 August 2019 July 2019 June 2019 May 2019 April 2019 March 2019 January 2019 December 2018 November 2018 October 2018 September 2018 August 2018 July 2018 June 2018 May 2018 April 2018 March 2018 February 2018 January 2018 December 2017 November 2017 October 2017 September 2017 August 2017 July 2017 June 2017 May 2017 March 2017 February 2017 December 2016 November 2016 October 2016 September 2016 August 2016 July 2016 June 2016 May 2016 April 2016 March 2016 February 2016 January 2016 December 2015 November 2015 October 2015 September 2015 August 2015 July 2015 June 2015 May 2015 April 2015 March 2015 February 2015 January 2015 December 2014 November 2014 October 2014 September 2014 August 2014 July 2014 June 2014 May 2014 April 2014 March 2014 February 2014 January 2014 December 2013 November 2013 October 2013 September 2013 August 2013 July 2013 June 2013 May 2013 April 2013 March 2013 February 2013 January 2013 December 2012 November 2012 October 2012 September 2012 August 2012 July 2012.