Various System.DllNotFoundException occurs

110 views
Skip to first unread message

peter....@prezi.com

unread,
Jul 29, 2016, 9:21:44 AM7/29/16
to CefGlue
Hi.

We are using cefglue from our WPF-app, and we get a lot of System.DllNotFoundException from this stact trace:

 Xilium.CefGlue.Interop.libcef.api_hash(Int32 entry):-1

 Xilium.CefGlue.CefRuntime.CheckVersionByApiHash():0

 Xilium.CefGlue.CefRuntime.Load(String path):42

 Xilium.CefGlue.CefRuntime.Load():0

 *****.Desktop.Program.Main(String[] args):13


Some of the exception messages, that comes under the DllNotFoundException:

Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)),

Invalid access to memory location. (Exception from HRESULT: 0x800703E6),
The paging file is too small for this operation to complete.(Exception from HRESULT: 0x800705AF),
Le module spécifié est introuvable. (Exception de HRESULT : 0x8007007E),
The specified procedure could not be found. (Exception from HRESULT: 0x8007007F),
The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020),

Do you have any idea, what can be the problem?

Br,
P

Keep up the good work!

Dmitry Azaraev

unread,
Jul 29, 2016, 9:34:30 AM7/29/16
to CefGlue

Hello.

You need download and place near executable actual CEF binaries. Depending from cefglue version you should choose compatible CEF redist.

1. Download CEF redist manually from
http://opensource.spotify.com/cefbuilds/index.html and unpack it (Release and Resources subfolders except .lib files from standard binary distribution, or from client distribution, it smaller and all files are in 'flat' order.)

2. Use my private nuget packages (currently only as sample, dont rely on them too much, outdated are deleted) from https://www.myget.org/gallery/dazaraev  (Xilium.CefGlue and second redist package - redist package x64 only).


--
You received this message because you are subscribed to the Google Groups "CefGlue" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cefglue+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

peter....@prezi.com

unread,
Aug 1, 2016, 5:52:33 AM8/1/16
to CefGlue, dmitry....@gmail.com
Hello, thanks for your answer.

I think I might have been more specific. We use CefGlue already and it works pretty well most of the time. This problem happens only in few cases. 

Our problem is that we cannot really tell, that simple app reopen will solve the problem, if this issue happens.

Can we find somewhere a CEF - CefGlue compatibility matrix?

Br,
Peter

Dmitry Azaraev

unread,
Aug 1, 2016, 12:50:18 PM8/1/16
to peter....@prezi.com, CefGlue
Compatibility driven by API has checks if you do not suppress them. Actual matrix never had been created, each cefglue release declares own compatibility. But any next CEF releases with same ABI (i.e. with same api hash should work).

You say about DllNotFound and AV that are different cases.

I'm can help if see clear reproduction sample. 

DllNotFound means that libcef.dll missing from expected location. Try use CefRuntime.Load with path - may be in some cases default location evaluates incorrectly?
Reply all
Reply to author
Forward
0 new messages