Suddenly can't find a DLL

Questions about Wine on Linux
Locked
flurbudurbur
Newbie
Newbie
Posts: 1
Joined: Sat Jul 23, 2022 3:26 pm

Suddenly can't find a DLL

Post by flurbudurbur »

Hi all,

Today I tries to launch an .exe and I got this error. I've got no clue what could've caused this as I haven't changed anything with wine. The program used to work fine before so this was quite a sudden turn for the worse. I tried several other executables, but the same happens. Wine tells me that it can't locale the wpfgfx_cor3.dll and I'm stumped.

Code: Select all

Type:        System.DllNotFoundException
Message:     C:\windows\mono\mono-2.0\lib\../lib\x86\wpfgfx_cor3.dll assembly:<unknown assembly> type:<unknown type> member:(null)
Source:      
Stack Trace: at (wrapper managed-to-native) MS.Win32.PresentationCore.UnsafeNativeMethods+MILFactory2.CreateFactory(intptr&,uint)
  at System.Windows.Media.FactoryMaker..ctor () [0x0003f] in <ddb54a52aacd4dfbb4a7df73d291a949>:0 
  at System.Windows.Media.StreamAsIStream.IStreamFrom (System.IntPtr memoryBuffer, System.Int32 bufferSize) [0x00007] in <ddb54a52aacd4dfbb4a7df73d291a949>:0 
  at System.Windows.Media.Imaging.BitmapDecoder.GetIStreamFromStream (System.IO.Stream& bitmapStream) [0x0005b] in <ddb54a52aacd4dfbb4a7df73d291a949>:0 
  at System.Windows.Media.Imaging.BitmapDecoder.SetupDecoderFromUriOrStream (System.Uri uri, System.IO.Stream stream, System.Windows.Media.Imaging.BitmapCacheOption cacheOption, System.Guid& clsId, System.Boolean& isOriginalWritable, System.IO.Stream& uriStream, System.IO.UnmanagedMemoryStream& unmanagedMemoryStream, Microsoft.Win32.SafeHandles.SafeFileHandle& safeFilehandle) [0x002a3] in <ddb54a52aacd4dfbb4a7df73d291a949>:0 
  at System.Windows.Media.Imaging.BitmapDecoder.CreateFromUriOrStream (System.Uri baseUri, System.Uri uri, System.IO.Stream stream, System.Windows.Media.Imaging.BitmapCreateOptions createOptions, System.Windows.Media.Imaging.BitmapCacheOption cacheOption, System.Net.Cache.RequestCachePolicy uriCachePolicy, System.Boolean insertInDecoderCache) [0x00105] in <ddb54a52aacd4dfbb4a7df73d291a949>:0 
  at System.Windows.Media.Imaging.BitmapFrame.CreateFromUriOrStream (System.Uri baseUri, System.Uri uri, System.IO.Stream stream, System.Windows.Media.Imaging.BitmapCreateOptions createOptions, System.Windows.Media.Imaging.BitmapCacheOption cacheOption, System.Net.Cache.RequestCachePolicy uriCachePolicy) [0x0000d] in <ddb54a52aacd4dfbb4a7df73d291a949>:0 
  at System.Windows.Media.ImageSourceConverter.ConvertFrom (System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, System.Object value) [0x00194] in <ddb54a52aacd4dfbb4a7df73d291a949>:0 
  at System.Windows.Baml2006.TypeConverterMarkupExtension.ProvideValue (System.IServiceProvider serviceProvider) [0x00012] in <3f0ca28258364746b90df0026805ef93>:0 
  at MS.Internal.Xaml.Runtime.ClrObjectRuntime.CallProvideValue (System.Windows.Markup.MarkupExtension me, System.IServiceProvider serviceProvider) [0x00002] in <98b5c5acfee84bfd9199e8e6fe16ac54>:0
invisible kid
Level 5
Level 5
Posts: 353
Joined: Tue Dec 24, 2019 3:23 pm

Re: Suddenly can't find a DLL

Post by invisible kid »

Hi, just a regular user here. Do you happen to build wine yourself, or do you use apt-get or similar?

Hmm, one message says it's not found, but later it says,

Code: Select all

C:\windows\mono\mono-2.0\lib\../lib\x86\wpfgfx_cor3.dll assembly:<unknown assembly> type:<unknown type> member:(null)
Which seems to show it finds it, but has problems with it. You can try to see if you can find it and get info from it:

Code: Select all

cd ~/.wine
find . -name wpfgfx_cor3.dll
That will at least tell you if it's there or not, if it's there you can do:

Code: Select all

cd <where file is located>
ls -l wpfgfx_cor3.dll
file wpfgfx_cor3.dll
to get more info. Good luck.
Locked