Jump to content

Recommended Posts

Posted

mac. whisky with wine. error report. very sad. plz help

 

System.EntryPointNotFoundException: Unable to find an entry point named 'GetThreadDpiHostingBehavior' in DLL 'USER32.dll'.
   at System.Windows.Forms.ScaleHelper.DpiAwarenessScope..ctor(DPI_AWARENESS_CONTEXT context, DPI_HOSTING_BEHAVIOR behavior)
   at System.Windows.Forms.ScaleHelper.EnterDpiAwarenessScope(DPI_AWARENESS_CONTEXT awareness, DPI_HOSTING_BEHAVIOR dpiHosting)
   at System.Windows.Forms.NativeWindow.CreateHandle(CreateParams cp)
   at System.Windows.Forms.Control.CreateHandle()
   at System.Windows.Forms.Application.ThreadContext.get_MarshallingControl()
   at System.Windows.Forms.WindowsFormsSynchronizationContext..ctor()
   at System.Windows.Forms.WindowsFormsSynchronizationContext.InstallIfNeeded()
   at System.Windows.Forms.Control..ctor(Boolean autoInstallSyncContext)
   at System.Windows.Forms.ScrollableControl..ctor()
   at System.Windows.Forms.ContainerControl..ctor()
   at System.Windows.Forms.Form..ctor()
   at PKHeX.WinForms.Program.Main()
System.ArgumentException: The NeutralResourcesLanguageAttribute on the assembly "PKHeX, Version=25.6.9.0, Culture=neutral, PublicKeyToken=null" specifies an invalid culture name: "en".
 ---> System.Globalization.CultureNotFoundException: Culture is not supported. (Parameter 'name')
en is an invalid culture identifier.
   at System.Globalization.CultureInfo.GetCultureInfo(String name)
   at System.Resources.ManifestBasedResourceGroveler.GetNeutralResourcesLanguage(Assembly a, UltimateResourceFallbackLocation& fallbackLocation)
   --- End of inner exception stack trace ---
   at System.Resources.ManifestBasedResourceGroveler.GetNeutralResourcesLanguage(Assembly a, UltimateResourceFallbackLocation& fallbackLocation)
   at System.Resources.ResourceManager.CommonAssemblyInit()
   at PKHeX.WinForms.Properties.Resources.get_ResourceManager()
   at PKHeX.WinForms.Properties.Resources.get_Icon()
   at PKHeX.WinForms.ErrorWindow.InitializeComponent()
   at PKHeX.WinForms.ErrorWindow.ShowErrorDialog(String friendlyMessage, Exception ex, Boolean allowContinue)
   at PKHeX.WinForms.Program.CurrentDomain_UnhandledException(Object sender, UnhandledExceptionEventArgs e)

Posted
5 hours ago, LEoLeolOeloe said:

wine 10.0

The newest one basically?

Doesn't need to be; it was "fixed" in wine as of November 2023: WineHQ Bugzilla – Bug 55892 – .NET 8 Windows Forms crashes due to missing DPI functions in user32, so any version of wine after 9.0-rc1.

WineHQ - News

(How did I identify what was your issue? The program gave the error message "GetThreadDpiHostingBehavior" and it's Wine, and this bug is one of the top results on search engines -- you're also not the first person to report this error message.)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...