Page 1 of 1

libcef.dll

Posted: Sat Jun 27, 2020 3:54 am
by coater
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!

Re: libcef.dll

Posted: Sat Jun 27, 2020 8:41 am
by salvadordf
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/viewtop ... =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.

Re: libcef.dll

Posted: Sat Jun 27, 2020 9:20 am
by coater
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