-
-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
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
EntryPointNotFoundException: Unable to find an entry point named 'RtlCopyMemory' in DLL 'kernel32.dll'. #7
Comments
Thank you for the report. Ahh, this is a nasty one. There are some P/Invoke functions that use dirty inner hacks by the framework. These are just macros in WinAPI instead of real exported functions and unfortunately the mocked entry points are named differently in .NET Core and .NET Framework. Firstly I used specific names on each platforms but that wasn't good either because sometimes the .NET Framework binaries needed to be executed on .NET Core (when using debugger visualizers, for example), so in the end I switched to the unified Could you please share some more environmental details, such as Windows version? But in the end I will maybe switch to my ultimate fallback implementation even on Windows. This is now used by Mono/Linux, for example, if an older framework version is targeted where Until then, you can try to target .NET Core 3.0 or later instead (eg. .NET 6) if you can switch to it in your project. |
Windows version 11. And unfortunately it's not possible to switch to .NET Core - that would require a complete rewrite of my software. I think a fallback implementation will be necessary if you don't want to lose .NET Framework developers. |
Fixed by this commit. It will be in the next release soon.
Don't be afraid of that. Compatibility with older frameworks has always been a priority, even .NET Framework 3.5 support is still maintained, even on Windows XP. All async methods have their pre-Task versions (Begin/End methods with |
Thank you for fixing this bug so quickly! Any idea when the next version will be out (it's currently blocking the release of my software) ;-) |
Hopefully still in this year. ;) I want to add also an improvement to animgif generation when |
Fixed in v6.2.0 |
Confirmed! It's working now! Thanks. |
As soon as I'm using the function SaveAsAnimatedGif, I get this exception in VB.NET with .NET 4.8:
EntryPointNotFoundException: Unable to find an entry point named 'RtlCopyMemory' in DLL 'kernel32.dll'.
The text was updated successfully, but these errors were encountered: