Comments (8)
In MIDL 3, arrays either represent a span (size + data) when passed as in parameter or an array specifically allocated by CoTaskMemAlloc when returned, with the expectation that the caller owns it and will call CoTaskMemFree, so it's not suitable for shared data. Usually, IBuffer or IMemoryBuffer is implemented for shared access where the caller doesn't directly manage the deallocation, but you can't put that currently inside a MIDL 3 struct.
from xlang.
.... you can't put that currently inside a MIDL 3 struct.
That's the reason for submitting this enhancement request in the first place. Is this the "right" project for MIDL3 enhancement requests, or should I instead submit it somewhere else?
from xlang.
Is this the "right" project for MIDL3 enhancement requests, or should I instead submit it somewhere else?
I think it's better to submit it to the Visual Studio team at http://developercommunity.visualstudio.com/ because they maintain the MIDL compiler. Maybe not since this relates to the WinRT type system.
from xlang.
Related Issues (20)
- winrt.windows.gaming.input.RawGameController.get_current_reading HOT 18
- Python: can't use CameraCaptureUI HOT 2
- MidlRT Nuget package doesn't work with WindowsAppSdk 1.0.0-preview1 HOT 2
- "Cannot change thread mode after it is set" RunTime error in Python HOT 1
- Toast Notification Callback: Get name of button argument (and input text if possible too) HOT 2
- Build and release winrt package for Python 3.10 HOT 8
- Support methods with default parameters HOT 1
- [Bug] pywinrt Timeline Properties Position Value Incorrect HOT 1
- pywinrt: precompiled header does not improve build time HOT 1
- How to make MIDL3 arrays with "weak" ownership? HOT 5
- The parameter is incorrect in find_all_async HOT 8
- Toast Notification without online image HOT 2
- Ability to declare classic COM interfaces from MIDL 3.0 and use it as a projected type HOT 1
- RegFreeWinRT support has bug in string handling that leads to failed DLL lookup
- Python/WinRT wheel file on PiPy for Python 3.10 HOT 2
- UndockedRegFreeWinrt requires the netfx3 feature on demand unnecessarily
- UndockedRegFreeWinRT does no error checking on Detours calls HOT 2
- 【winrt】Failed to import JapanesePhoneticAnalyzer HOT 2
- Undocked regfreewinrt binaries are not included in application when using custom VS build configurations HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xlang.