Comments (6)
We don't support merging multiple NativeMethods.json
files. But if you want the project to find a file that isn't in the project directory, you can always add <AdditionalFiles Include="..\..\NativeMethods.json"/>
to your project file to point at the one you want CsWin32 to use.
from cswin32.
In the root is OK but multiple json files would be useful as multiple txt are also supported. Now I have to split this up in multiple projects.
from cswin32.
What would you use support for multiple JSON files for? Can you give an example of content that you would put into each file that should be included by a single project, and describe why you chose to place each setting into each file?
from cswin32.
I want some types not to use com marshaling, but more importantly, I would like some of the generated types public.
from cswin32.
I would like some of the generated types public.
We don't support generating some public and some non-public APIs. It's either all internal or all (approximately) public.
If you want some to be public, you'll probably have to choose for it to all be public for one particular project and emit just the public APIs into that project. Then your other projects can emit internal APIs for their own use.
I want some types not to use com marshaling
allowMarshaling
is another option that cannot be mixed. It's either on or off for the whole compilation.
Multiple JSON files will not get around the fundamental limitations that it seems you're hoping to use them to solve.
from cswin32.
OK, then I guess this can be closed as not planned? :)
from cswin32.
Related Issues (20)
- ConvertStringSidToSid should probably return something disposable HOT 1
- CreateRestrictedToken should probably return a SafeAccessTokenHandle HOT 1
- IDxcLibrary.CreateBlobWithEncodingOnHeapCopy is incorrectly generated returning void and not HRESULT HOT 5
- Functions like GetDeviceCaps, SetBkMode had a unnecessary additional LocalExternFunction HOT 1
- Functions FindResource, LoadImage should have an additional overload HOT 2
- Support [RAIIFree] on output parameters
- EntryPointNotFoundException - wintrust.dll HOT 3
- Calling `IMMDevice.Activate()` results in a NullReferenceException HOT 4
- Invalid SupportedArchitectureAttribute on Win32 type HOT 2
- ntdll functions HOT 4
- Leverage .NET 8/C# 12 inline arrays
- Need help to choose between friendly and unsafe overloads
- Add defines from winmeta.h (WINEVENT_LEVEL_*, WINEVENT_OPCODE_*, etc.)
- CLSID_GlobalOptions is Missing HOT 1
- GetCurrentProcessToken results in DllImport for "FORCEINLINE" HOT 5
- The API "LsaFreeReturnBuffer" is ambiguous.
- IPropertyStore, RECT, etc. generated with non-public visibility HOT 3
- HRESULT static fields not easily usable in switches HOT 1
- The resulting SetProcessWorkingSetSize cannot be entered as -1 HOT 2
- `ShellExecuteEx` is not generated HOT 1
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 cswin32.