Newly added 'read_resource_string()' function (glib)

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Newly added 'read_resource_string()' function (glib)

John Emmas
I just updated from git master and noticed a newly added function (in
'gio/gwin32appinfo.c') called "read_resource_string()".  The section
around line 516 looks like this:-

   resource_module = LoadLibraryExW (filename_str,
                                     0,
                                     LOAD_LIBRARY_AS_DATAFILE |
                                     LOAD_LIBRARY_AS_IMAGE_RESOURCE);

We need to build libglib with MSVC 8.0 but unfortunately, it doesn't
contain the symbol 'LOAD_LIBRARY_AS_IMAGE_RESOURCE'.  In any case, MSDN
states that LOAD_LIBRARY_AS_IMAGE_RESOURCE isn't supported in anything
earlier than Vista (and our app needs to run on XP or higher).

Will it be possible to address these problems in the near future? Thanks.

John


_______________________________________________
gtk-devel-list mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/gtk-devel-list
Reply | Threaded
Open this post in threaded view
|

Re: Newly added 'read_resource_string()' function (glib)

Ignacio Casal Quinteiro
Hi John,

as we pointed out early on this cycle we are not going to support XP anymore. So you will have to stick at an earlier release of glib.

Cheers.

On Mon, Jun 15, 2015 at 4:28 PM, John Emmas <[hidden email]> wrote:
I just updated from git master and noticed a newly added function (in 'gio/gwin32appinfo.c') called "read_resource_string()".  The section around line 516 looks like this:-

  resource_module = LoadLibraryExW (filename_str,
                                    0,
                                    LOAD_LIBRARY_AS_DATAFILE |
                                    LOAD_LIBRARY_AS_IMAGE_RESOURCE);

We need to build libglib with MSVC 8.0 but unfortunately, it doesn't contain the symbol 'LOAD_LIBRARY_AS_IMAGE_RESOURCE'.  In any case, MSDN states that LOAD_LIBRARY_AS_IMAGE_RESOURCE isn't supported in anything earlier than Vista (and our app needs to run on XP or higher).

Will it be possible to address these problems in the near future? Thanks.

John


_______________________________________________
gtk-devel-list mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/gtk-devel-list



--
Ignacio Casal Quinteiro

_______________________________________________
gtk-devel-list mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/gtk-devel-list