libcef.dll

Post Reply
coater
Posts: 105
Joined: Sat Sep 29, 2018 1:51 pm

libcef.dll

Post by coater » Sat Jun 27, 2020 3:54 am

After building branch 4103 I found the size of libcef.dll was about 41M, that is more less than the file from Spotify(104M) . I must copy another *.lib to support the debugging in delphi.

why this happened?

I should use which file to support delphi debugging?

Thank you!

User avatar
salvadordf
Posts: 2412
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: libcef.dll

Post by salvadordf » Sat Jun 27, 2020 8:41 am

coater wrote:
Sat Jun 27, 2020 3:54 am
After building branch 4103 I found the size of libcef.dll was about 41M, that is more less than the file from Spotify(104M) . I must copy another *.lib to support the debugging in delphi.
why this happened?
I'm afraid I'm not an expert in Visual Studio and I can't help you much.
Please, use the official CEF forum for questions about building the CEF libraries :
http://magpcss.org/ceforum/
coater wrote:
Sat Jun 27, 2020 3:54 am
I should use which file to support delphi debugging?
As far as I know, the LIB files are statically linked to Visual Studio projects and we can't use them in Delphi.

Debugging your Delphi code is totally independent of the external libraries you use.

If you want to debug an error in those libraries then use the "debug" libraries and the "debug" symbols. Read this guide for more details :
https://www.briskbard.com/forum/viewtopic.php?f=10&t=1050

However, most of the times the errors come after an incorrect or incomplete implementation in the Delphi code.
Create a sample minimal project where I can reproduce the error to see if I can help you.

coater
Posts: 105
Joined: Sat Sep 29, 2018 1:51 pm

Re: libcef.dll

Post by coater » Sat Jun 27, 2020 9:20 am

Thank you very much!
Finally, I copy all *.dll files into delphi debug directory(and another files such as files same name as that in "release" and "resource" from spotify ), and they does work.

Maybe it is the difference of is_component_build=true and is_official_build=true

Post Reply