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
If the application path contains Unicode characters (ő) the SkiaSharp.dll cannot load native libSkiaSharp.dll.
The app is .NET fx 4.7.2 x64. NuGet version 2.88.8
Just put a character like ő somewhere into the path and start the application
It should handle the library paths as Unicode strings, like CreateFileW does
Exception thrown
2.88.3 (Current)
Other (Please indicate in the description)
Visual Studio (Windows)
Windows
Win11 23H2 x64
PC
No response
The text was updated successfully, but these errors were encountered:
Is there anything wrong with not having LoadLibraryW and CharSet = CharSet.Unicode implemented here?
private static class Win32 { private const string SystemLibrary = "Kernel32.dll"; [DllImport (SystemLibrary, SetLastError = true, CharSet = CharSet.Ansi)] public static extern IntPtr LoadLibrary (string lpFileName); [DllImport (SystemLibrary, SetLastError = true, CharSet = CharSet.Ansi)] public static extern IntPtr GetProcAddress (IntPtr hModule, string lpProcName); [DllImport (SystemLibrary, SetLastError = true, CharSet = CharSet.Ansi)] public static extern void FreeLibrary (IntPtr hModule); }
Sorry, something went wrong.
No branches or pull requests
Description
If the application path contains Unicode characters (ő) the SkiaSharp.dll cannot load native libSkiaSharp.dll.
The app is .NET fx 4.7.2 x64. NuGet version 2.88.8
Code
Just put a character like ő somewhere into the path and start the application
Expected Behavior
It should handle the library paths as Unicode strings, like CreateFileW does
Actual Behavior
Exception thrown
Version of SkiaSharp
2.88.3 (Current)
Last Known Good Version of SkiaSharp
Other (Please indicate in the description)
IDE / Editor
Visual Studio (Windows)
Platform / Operating System
Windows
Platform / Operating System Version
Win11 23H2 x64
Devices
PC
Relevant Screenshots
Relevant Log Output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: