WebUI

Post Reply
User avatar
ssbbs
Posts: 104
Joined: Mon Oct 17, 2005 3:03 am
Location: Taiwan

WebUI

Post 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
 
Image
line ID: ssbbstw
WeChat ID: ssbbstw
User avatar
Otto
Posts: 6378
Joined: Fri Oct 07, 2005 7:07 pm
Contact:

Re: WebUI

Post 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
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
ssbbs
Posts: 104
Joined: Mon Oct 17, 2005 3:03 am
Location: Taiwan

Re: WebUI

Post by ssbbs »

The applications I developed have already started to move to the web!
line ID: ssbbstw
WeChat ID: ssbbstw
User avatar
albeiroval
Posts: 383
Joined: Tue Oct 16, 2007 5:51 pm
Location: Barquisimeto - Venezuela

Re: WebUI

Post by albeiroval »

ssbbs, looks greats.

Can you put the "C" and header "h" files that you included in the example ?
Saludos,
Regards,

Albeiro Valencia
www.avcsistemas.com
User avatar
Lailton
Posts: 156
Joined: Fri Jul 20, 2012 1:49 am
Location: Brazil
Contact:

Re: WebUI

Post by Lailton »

Looks really cool,

Thanks for share, I will play with it.
Regards,
Lailton Fernando Mariano
User avatar
Lailton
Posts: 156
Joined: Fri Jul 20, 2012 1:49 am
Location: Brazil
Contact:

Re: WebUI

Post 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

8)
Regards,
Lailton Fernando Mariano
User avatar
Otto
Posts: 6378
Joined: Fri Oct 07, 2005 7:07 pm
Contact:

Re: WebUI

Post 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
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Lailton
Posts: 156
Joined: Fri Jul 20, 2012 1:49 am
Location: Brazil
Contact:

Re: WebUI

Post by Lailton »

it worked fine on Mac M1.

Image
Regards,
Lailton Fernando Mariano
User avatar
Lailton
Posts: 156
Joined: Fri Jul 20, 2012 1:49 am
Location: Brazil
Contact:

Re: WebUI

Post 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
Regards,
Lailton Fernando Mariano
User avatar
albeiroval
Posts: 383
Joined: Tue Oct 16, 2007 5:51 pm
Location: Barquisimeto - Venezuela

Re: WebUI

Post 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
 
Image
Puedes mostrar el archivo de compilacion para crear el exe con BCC 7.4/x32
Saludos,
Regards,

Albeiro Valencia
www.avcsistemas.com
User avatar
Antonio Linares
Site Admin
Posts: 42259
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: WebUI

Post by Antonio Linares »

Se puede hacer lo mismo usando WebView con FWH :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
ssbbs
Posts: 104
Joined: Mon Oct 17, 2005 3:03 am
Location: Taiwan

Re: WebUI

Post 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
line ID: ssbbstw
WeChat ID: ssbbstw
User avatar
ssbbs
Posts: 104
Joined: Mon Oct 17, 2005 3:03 am
Location: Taiwan

Re: WebUI

Post by ssbbs »

Lailton wrote: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

8)
The WebUI can use BCC x32 compiler.
line ID: ssbbstw
WeChat ID: ssbbstw
Post Reply