• I need a quick libgtk call

    From T@21:1/5 to All on Sun Jan 3 20:24:55 2021
    Hi All,

    Not "where" from the command line or any
    other command line method. I need to do this
    from inside a program with a call to libgtk.

    Anyone know a quick libgtk call that will
    tell me if libgtk is working?

    All the libgtk calls I can find have YUGE structures.

    https://developer.gnome.org/gtk3/stable/api-index-full.html

    libgtk's version would be nice (without having
    to create a YUGE structure).

    Many thanks,
    -T

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From JJ@21:1/5 to All on Mon Jan 4 15:06:51 2021
    On Sun, 3 Jan 2021 20:24:55 -0800, T wrote:
    Hi All,

    Not "where" from the command line or any
    other command line method. I need to do this
    from inside a program with a call to libgtk.

    Anyone know a quick libgtk call that will
    tell me if libgtk is working?

    All the libgtk calls I can find have YUGE structures.

    https://developer.gnome.org/gtk3/stable/api-index-full.html

    libgtk's version would be nice (without having
    to create a YUGE structure).

    Many thanks,
    -T

    GTK is a cross platform library, and your question is more related to GTK
    than Win32.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From T@21:1/5 to All on Mon Jan 4 00:11:59 2021
    On 1/4/21 12:06 AM, JJ wrote:
    On Sun, 3 Jan 2021 20:24:55 -0800, T wrote:
    Hi All,

    Not "where" from the command line or any
    other command line method. I need to do this
    from inside a program with a call to libgtk.

    Anyone know a quick libgtk call that will
    tell me if libgtk is working?

    All the libgtk calls I can find have YUGE structures.

    https://developer.gnome.org/gtk3/stable/api-index-full.html

    libgtk's version would be nice (without having
    to create a YUGE structure).

    Many thanks,
    -T

    GTK is a cross platform library, and your question is more related to GTK than Win32.


    I am going to be running the test from Windows 10-20H2

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From T@21:1/5 to All on Mon Jan 4 00:36:09 2021
    On 1/4/21 12:06 AM, JJ wrote:
    On Sun, 3 Jan 2021 20:24:55 -0800, T wrote:
    Hi All,

    Not "where" from the command line or any
    other command line method. I need to do this
    from inside a program with a call to libgtk.

    Anyone know a quick libgtk call that will
    tell me if libgtk is working?

    All the libgtk calls I can find have YUGE structures.

    https://developer.gnome.org/gtk3/stable/api-index-full.html

    libgtk's version would be nice (without having
    to create a YUGE structure).

    Many thanks,
    -T

    GTK is a cross platform library, and your question is more related to GTK than Win32.


    JJ for the Perl6 mailing list?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From T@21:1/5 to All on Mon Jan 4 01:18:40 2021
    On 1/3/21 8:24 PM, T wrote:
    Hi All,

    Not "where" from the command line or any
    other command line method.  I need to do this
    from inside a program with a call to libgtk.

    Anyone know a quick libgtk call that will
    tell me if libgtk is working?

    All the libgtk calls I can find have YUGE structures.

    https://developer.gnome.org/gtk3/stable/api-index-full.html

    libgtk's version would be nice (without having
    to create a YUGE structure).

    Many thanks,
    -T




    Follow up:

    https://docs.microsoft.com/en-us/windows/win32/dlls/using-run-time-dynamic-linking

    Worked perfectly!

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From T@21:1/5 to All on Mon Jan 4 12:18:18 2021
    On 1/4/21 1:18 AM, T wrote:
    On 1/3/21 8:24 PM, T wrote:
    Hi All,

    Not "where" from the command line or any
    other command line method.  I need to do this
    from inside a program with a call to libgtk.

    Anyone know a quick libgtk call that will
    tell me if libgtk is working?

    All the libgtk calls I can find have YUGE structures.

    https://developer.gnome.org/gtk3/stable/api-index-full.html

    libgtk's version would be nice (without having
    to create a YUGE structure).

    Many thanks,
    -T




    Follow up:

    https://docs.microsoft.com/en-us/windows/win32/dlls/using-run-time-dynamic-linking


    Worked perfectly!


    Just out of curiosity, what would I normally
    use LoadLibraryA for?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From JJ@21:1/5 to All on Tue Jan 5 10:52:22 2021
    On Mon, 4 Jan 2021 12:18:18 -0800, T wrote:>
    Just out of curiosity, what would I normally
    use LoadLibraryA for?

    Same thing as the *nix equivalent `dlopen()` function.

    For loading optional libraries, and for loading libraries whose name are
    given by user input.

    Though, most software developers treat DLLs (i.e. Dynamic Link Library) as static link libraries (even for optional DLLs, or DLLs which aren't
    guaranteed to exist in every Windows installations). That prevents the
    system from even starting the main program when any of the DLL (which can be optional) is missing.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From T@21:1/5 to All on Tue Jan 5 00:13:15 2021
    On 1/4/21 12:36 AM, T wrote:
    JJ from the Perl6 mailing list?

    Hi JJ,

    Nice to see you are helping out here as well.

    -T

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)