flat assembler
Message board for the users of flat assembler.

Index > Windows > I found linux example GTK. I want GTK dll win 7

Author
Thread Post new topic Reply to topic
Roman



Joined: 21 Apr 2012
Posts: 1815
Roman 18 Oct 2019, 08:47
I found GTK example for Linux https://flatassembler.net/examples.php
Where is get\download gtk dll for Win 7 64 bit ?
Post 18 Oct 2019, 08:47
View user's profile Send private message Reply with quote
Roman



Joined: 21 Apr 2012
Posts: 1815
Roman 18 Oct 2019, 16:23
I found this example but in rar file no any gtk dll
https://www.dreamincode.net/forums/topic/288358-nasm-using-gtk/
Post 18 Oct 2019, 16:23
View user's profile Send private message Reply with quote
Roman



Joined: 21 Apr 2012
Posts: 1815
Roman 24 Oct 2019, 12:50
I found ! All dlls 24 mb for gtk+ !
35 dlls for Windows 7 64 bits!
Arg Smile

Its too much 35 dlls.
https://github.com/tschoonj/GTK-for-Windows-Runtime-Environment-Installer/tree/master/gtk-nsis-pack/bin

I compile for Fasm simple button example. Work fine.
Code:
        invoke gtk_init,0,0        
        invoke gtk_window_new,0 ;GTK_WINDOW_TOPLEVEL
        mov [hwnd],rax

;create btn
        invoke gtk_button_new_with_label,"Hi !"
        mov  [button],rax

;attach btn to gtk window
        invoke gtk_container_add,[hwnd],[button]

        invoke gtk_widget_show,[button]
        invoke gtk_widget_show,[hwnd]

        invoke gtk_main   ;main loop some like PeekMessage for GTK+
    
Post 24 Oct 2019, 12:50
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.