Tim Sneath
Tim Sneath
We haven't shipped an updated version to pub.dev for a little while, because there's been lots of (good) churn on the WinRT front. Before we ship again, we should decide...
It's rare, but sometimes a test fails on a particular (platform,branch) combination with an error. For example: https://github.com/timsneath/win32/runs/6676600994?check_suite_focus=true failed with: ``` Error: Process completed with exit code 1. ``` It's...
_Originally posted by @halildurmus in https://github.com/timsneath/win32/issues/431#issuecomment-1133899087_ Assume that we're using the `Mixin` model for generating WinRT classes. There are some cases where we can't deallocate pointers in the generated code....
We have the opportunity to reduce the ceremony with casting COM objects. Today, the code is something like: ``` final fileDialog2 = IFileDialog2( COMObject.createFromID(CLSID_FileOpenDialog, IID_IFileDialog2)); final modalWindow = IModalWindow(fileDialog2.toInterface(IID_IModalWindow)); ```...
For a string array of unclear length (e.g. `Windows.Win32.Devices.DeviceAndDriverInstallation.SP_DEVICE_INTERFACE_DETAIL_DATA_W`), consider projecting differently so that it doesn't appear as `@Array(1)`.
Because of https://github.com/dart-lang/sdk/issues/38832, `GetLastError` returns 0 even if an error has occurred.
[Good suggestion](https://twitter.com/ThomasBurkhartB/status/1308475166805102592) from @escamoteur. Requires: - Add support for remaining COM Callable Wrapper interfaces (https://docs.microsoft.com/en-us/dotnet/standard/native-interop/com-callable-wrapper) - Create a trivial component in C# or similar, and create a tlb for it...
Switch from the manual code generation step to using Builder. An example for this scenario (thanks @kevmoo) can be found here: https://github.com/dart-lang/build/blob/master/example/lib/example.dart#L11-L30 A few notes for myself: - Input will...