Why am I getting an access violation trying to access a method on my C++/WinRT object?

1 · Raymond Chen · Oct. 30, 2020, 2:41 p.m.
A customer had a C++/WinRT program that used the Windows.Devices.PointOfService.ReceiptPrintJob object to print a receipt on a point-of-service printer. They wanted to skip five lines, so they did the natural thing: receiptPrintJob.FeedPaperByLine(5); This worked great until it didn’t. On one system, The post Why am I getting an access violation trying to access a method on my C++/WinRT object? appeared first on The Old New Thing....