[Bug 22572] Managed C++ assemblies don't work in Wine + Mono

WineHQ Bugzilla wine-bugs at winehq.org
Wed Jun 9 16:05:29 CDT 2021


https://bugs.winehq.org/show_bug.cgi?id=22572

--- Comment #20 from Esme Povirk <madewokherd at gmail.com> ---
Managed C++ Assemblies work, but this particular one fails:

Unhandled Exception:
System.EntryPointNotFoundException: #680 assembly:<unknown assembly>
type:<unknown type> member:(null)
  at (wrapper managed-to-native) wyUpdate.VistaTools.IsUserAnAdmin()
  at updater.Form1..ctor (System.String[] args) [0x006e9] in
<ad9c051884c743f298d67a77ee0c8662>:0 
  at (wrapper remoting-invoke-with-check) updater.Form1..ctor(string[])
  at updater.Program.Main (System.String[] args) [0x0000b] in
<ad9c051884c743f298d67a77ee0c8662>:0 

[DllImport("shell32.dll", CharSet = CharSet.Unicode, EntryPoint = "#680")]
public static extern bool IsUserAnAdmin();

Wine has this, so I'm guessing pinvokes by ordinal don't work correctly.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list