Strange DLL error running a 64-bit program

Questions about Wine on macOS.
Locked
GarryB
Level 1
Level 1
Posts: 8
Joined: Sat Dec 01, 2012 12:12 am

Strange DLL error running a 64-bit program

Post by GarryB »

I am trying to run a 64-bit app in WINE. I am using a custom Wine 2.2 build from ThePortingTeam. The app needs .NET to run. I've had lots of trouble with getting all the required .NET files because WineTricks can't install 64-bit versions etc.

Anyway, I'm now stuck with this set of errors in LastRunWine.log:

fixme:wer:WerSetFlags (2) stub!
fixme:heap:RtlSetHeapInformation 0x0 1 0x0 0 stub
fixme:process:SetProcessShutdownParameters (00000380, 00000000): partial stub.
fixme:ntdll:EtwEventRegister ({319dc449-ada5-50f7-428e-957db6791668}, 0x961925, 0x9adbd0, 0x9adbe8) stub.
fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 0x942f3d, 28) stub
fixme:wer:WerSetFlags (2) stub!
fixme:heap:RtlSetHeapInformation 0x0 1 0x0 0 stub
err:mscoree:CLRRuntimeInfo_GetRuntimeHost Wine Mono is not installed
fixme:ntdll:EtwEventUnregister (deadbeef) stub.

I've noticed that I don't have a 32-bit version of mscoree.dll [only a wine placeholder] so, I've tried installing .NET 3.0 and 3.5 and 3.5SP1. All those attempts failed because I couldn't find how to access "Turn Windows features on or off" in the Control Panel". I tried downloading and installing a 32-bit copy of mscoree.dll off the web but all that did was create an error message saying that that DLL was missing from Framework64 !

I've tried various changes to dll overrides also, with no improvement.

Does anyone have any ideas ?

Thanks


Garry
User avatar
dimesio
Moderator
Moderator
Posts: 13202
Joined: Tue Mar 25, 2008 10:30 pm

Re: Strange DLL error running a 64-bit program

Post by dimesio »

64 bit .NET doesn't install or work in Wine yet, period. That's why it's not in winetricks.

Have you tried wine-mono?
GarryB
Level 1
Level 1
Posts: 8
Joined: Sat Dec 01, 2012 12:12 am

Re: Strange DLL error running a 64-bit program

Post by GarryB »

Thanks for the suggestion. I've found .NET works better than Mono in the past. But, if 64-bit .NET isn't going to work, I'll try Mono.

Cheers.


Garry
GarryB
Level 1
Level 1
Posts: 8
Joined: Sat Dec 01, 2012 12:12 am

Re: Strange DLL error running a 64-bit program

Post by GarryB »

dimesio wrote:64 bit .NET doesn't install or work in Wine yet, period. That's why it's not in winetricks.

Have you tried wine-mono?
I created a vanilla 64-bit prefix and installed my software. LastRunWine shows:

Unhandled Exception:
Nested exception detected.
Original Exception: at (wrapper alloc) object.AllocVector (intptr,intptr) <0x000ac>
at System.TypeInitializationException..ctor (string,System.Exception) <0x00030>
Nested exception:at (wrapper managed-to-native) System.RuntimeType.getFullName (System.RuntimeType,bool,bool) <0x0004f>
at System.RuntimeType.ToString () <0x0001d>
at System.Exception.get_ClassName () <0x0002b>
at System.Exception.ToString () <0x0001f>
err:mscoree:RuntimeHost_Invoke Method System.Exception:get_HResult raised an exception, hr=80004005
err:mscoree:RuntimeHost_Invoke Method System.Environment:Exit raised an exception, hr=80004005
err:mscoree:RuntimeHost_ExitProcess Process should have exited
[ERROR] FATAL UNHANDLED EXCEPTION: Nested exception detected.
Original Exception: at (wrapper alloc) object.AllocVector (intptr,intptr) <0x000ac>
at System.TypeInitializationException..ctor (string,System.Exception) <0x00030>
Nested exception:at (wrapper managed-to-native) System.RuntimeType.getFullName (System.RuntimeType,bool,bool) <0x0004f>
at System.RuntimeType.ToString () <0x0001d>
at System.Exception.get_ClassName () <0x0002b>
at System.Exception.ToString () <0x0001f>
err:mscoree:expect_no_runtimes Process exited with a Mono runtime loaded.


So, I suspect Mono doesn't work. Does that mean that apps requiring 64-bit .NET don't work in Wine ?

Cheers.
User avatar
dimesio
Moderator
Moderator
Posts: 13202
Joined: Tue Mar 25, 2008 10:30 pm

Re: Strange DLL error running a 64-bit program

Post by dimesio »

GarryB wrote: Does that mean that apps requiring 64-bit .NET don't work in Wine ?
Yes. You could try wine-staging if you haven't already. They do have some patches for .NET issues, though I'm not sure if any are for 64 bit problems.
Locked