Page 1 of 1
WebUI
Posted: Tue May 28, 2024 3:47 am
by ssbbs
I found something great!!
WebUI:
https://github.com/webui-dev/webui
Test on fivewin!!
compiler BCC 7.4/x32
Code: Select all | Expand
func main()
msgInfo('begin')
WebUI()
msgInfo('end')
return
#pragma BEGINDUMP
#include "webui.h"
HB_FUNC(WEBUI){
size_t my_window = webui_new_window();
webui_show(my_window, "<html><head><script src=\"webui.js\"></script></head> Hello World ! </html>");
webui_wait();
return 0;
}
#pragma ENDDUMP
Re: WebUI
Posted: Tue May 28, 2024 5:43 am
by Otto
ssbbs,
I think one should start with the official FiveTech programs first.
The problem is that these niche products do not achieve significant user numbers and fall asleep.
WebView2 is also used by other desktop languages and has a user base.
In our group, it is almost non-existent. I have noticed that interest in the web in our group has drastically decreased.
The regular Skype sessions that used to be on Fridays now take place only sporadically, and in principle, there are no contributions to web development here, and I read along in the xBase group, also there.
Where do you actually see the problem with an Apache server?
Best regards,
Otto
Re: WebUI
Posted: Tue May 28, 2024 7:03 am
by ssbbs
The applications I developed have already started to move to the web!
Re: WebUI
Posted: Tue May 28, 2024 2:43 pm
by albeiroval
ssbbs, looks greats.
Can you put the "C" and header "h" files that you included in the example ?
Re: WebUI
Posted: Tue May 28, 2024 2:54 pm
by Lailton
Looks really cool,
Thanks for share, I will play with it.
Re: WebUI
Posted: Tue May 28, 2024 3:22 pm
by Lailton
Just to let you know, it uses the webview2 ( same that Antonio already have added to fivewin )
https://github.com/webui-dev/webui/tree ... rc/webview
Re: WebUI
Posted: Tue May 28, 2024 4:38 pm
by Otto
Dear Lailton,
You are one of the first Fivewin users to specialize in web development and one of the most knowledgeable.
Do you use APACHE server?
Best regards,
Otto
Re: WebUI
Posted: Tue May 28, 2024 6:49 pm
by Lailton
it worked fine on Mac M1.
Re: WebUI
Posted: Tue May 28, 2024 6:52 pm
by Lailton
Hi Otto,
Yes, I have some projects running with Apache/NGINX/IIS and some pure exe without it.
Can I help you with something?
You can contact me on Email/Skype
lailton@paysoft.com.br
Otto wrote:Dear Lailton,
You are one of the first Fivewin users to specialize in web development and one of the most knowledgeable.
Do you use APACHE server?
Best regards,
Otto
Re: WebUI
Posted: Thu May 30, 2024 12:53 pm
by albeiroval
ssbbs wrote:I found something great!!
WebUI:
https://github.com/webui-dev/webui
Test on fivewin!!
compiler BCC 7.4/x32
Code: Select all | Expand
func main()
msgInfo('begin')
WebUI()
msgInfo('end')
return
#pragma BEGINDUMP
#include "webui.h"
HB_FUNC(WEBUI){
size_t my_window = webui_new_window();
webui_show(my_window, "<html><head><script src=\"webui.js\"></script></head> Hello World ! </html>");
webui_wait();
return 0;
}
#pragma ENDDUMP
Puedes mostrar el archivo de compilacion para crear el exe con BCC 7.4/x32
Re: WebUI
Posted: Thu May 30, 2024 5:38 pm
by Antonio Linares
Se puede hacer lo mismo usando WebView con FWH
Re: WebUI
Posted: Tue Jun 11, 2024 3:22 am
by ssbbs
albeiroval wrote:ssbbs, looks greats.
Can you put the "C" and header "h" files that you included in the example ?
Download Project file:
https://github.com/webui-dev/webui
Re: WebUI
Posted: Tue Jun 11, 2024 3:23 am
by ssbbs
The WebUI can use BCC x32 compiler.