We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I found this excellent library, and decide play with it in NativeAOT. Since this is thin wrapper agains Win32 API, I thought that it will just work.
Unfortunately I hit this line
WInterop/src/WInterop.Desktop/Windows/Classes/WindowClass.cs
Line 59 in 6e5f832
Assembly.GetCallingAssembly() does not supported by NativeAOT. Is there a way how code could be modified to better accomodate NativeAOT
Assembly.GetCallingAssembly()
I make run Clock sample with reflection disabled, by passing HINSTANCE of exe. Maybe you could find a better way.
// This was added. public Clock() : base(moduleInstance: Modules.GetModuleHandle(null)) { }
BTW: only 1.3 Mb resulting executable.
The text was updated successfully, but these errors were encountered:
@kant2002 Sorry about the delayed response. Here is the change I made: a95a94d
Sorry, something went wrong.
No problem. Your library has very interesting properties, and so close to Win32. Thanks for pinging me. Let me try it out
No branches or pull requests
I found this excellent library, and decide play with it in NativeAOT.
Since this is thin wrapper agains Win32 API, I thought that it will just work.
Unfortunately I hit this line
WInterop/src/WInterop.Desktop/Windows/Classes/WindowClass.cs
Line 59 in 6e5f832
Assembly.GetCallingAssembly()
does not supported by NativeAOT.Is there a way how code could be modified to better accomodate NativeAOT
I make run Clock sample with reflection disabled, by passing HINSTANCE of exe. Maybe you could find a better way.
BTW: only 1.3 Mb resulting executable.
The text was updated successfully, but these errors were encountered: