cefcapi icon indicating copy to clipboard operation
cefcapi copied to clipboard

main_win.c - completely non-working code and example

Open Staxcelrom opened this issue 3 years ago • 6 comments

The file main_win.c - will not run on more than one machine, since it is completely non-working:

For example, it uses non-existent functions and non-existent fields of structures: -cef_initialize - no such function exists -initialize_cef_client - no such function exists -initialize_cef_life_span_handler - no such function exists

The cef_window_info_t structure has no fields: .x, .y, .width, .height.

So nothing With API CEF - does not work.

Staxcelrom avatar Feb 02 '22 11:02 Staxcelrom

Did you download correct CEF version?

cztomczak avatar Feb 02 '22 14:02 cztomczak

From here: https://cef-builds.spotifycdn.com/index.html#windows32

Staxcelrom avatar Feb 02 '22 15:02 Staxcelrom

You need to download specific CEF version as stated in readme.

cztomczak avatar Feb 02 '22 16:02 cztomczak

Yes, of course, but there are two questions:

  1. Is this a specific version - does not support new updates?
  2. And the link provided in the "readme" is not working: http://opensource.spotify.com/cefbuilds/index.html

Staxcelrom avatar Feb 02 '22 16:02 Staxcelrom

You can filter specific CEF version on the new cef builds site.

cztomczak avatar Feb 03 '22 09:02 cztomczak

I do not understand. And the latest version at this link - https://cef-builds.spotifycdn.com/index.html#windows32 I can 't use it ?

Staxcelrom avatar Feb 05 '22 16:02 Staxcelrom