HB_WebView (a cross-platform Webview library)

User avatar
srvet_claudio
Posts: 2220
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: HB_WebView (a cross-platform Webview library)

Post by srvet_claudio »

Hi,
I've fixed a minor bug in the file directory_demo.html reported by Serge.
Please re-download hb_webview.rar from the first post.
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
ASESORMIX
Posts: 213
Joined: Thu Oct 25, 2012 8:08 pm
Location: Bqto, Venezuela

Re: HB_WebView (a cross-platform Webview library)

Post by ASESORMIX »

Saludos Sr Soto.
Muchas Gracias.
ASESORMIX
Posts: 213
Joined: Thu Oct 25, 2012 8:08 pm
Location: Bqto, Venezuela

Re: HB_WebView (a cross-platform Webview library)

Post by ASESORMIX »

Saludos a todos.
Que debo hacer para compilar y usar una real conexion a MYSQL ( in a real SQL connection ).
Da error cuando coloco est linea en comentario
//#define SIMULATE_SQL
User avatar
Rathinagiri
Posts: 5480
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: HB_WebView (a cross-platform Webview library)

Post by Rathinagiri »

Wow Claudio! Sorry I have not seen this thread because of my other commitments. No words to thank you brother!
srvet_claudio wrote: Thu Mar 13, 2025 11:35 pm I have developed HB_WebView a Harbour wrapper for Webview library.

Webview library is a tiny cross-platform webview library for C/C++ to build modern cross-platform GUIs.
The goal of the Webview library is to create a common HTML5 UI abstraction layer for the most widely used platforms.
It supports two-way JavaScript bindings (to call JavaScript from C/C++ and to call C/C++ from JavaScript).

Now with HB_Webview you can easily bind HB/HMG functions with Javascript, that is, you can call any HB/HMG function from an HTML page.

Roberto's dream is now a reality!
With HB_Webview can now be easily bind with Roberto's JMG (https://www.hmgforum.com/viewforum.php?f=50).

Demos written in pure Harbor (cross-platform demos):

demo1.prg - Web browsing in Harbour
demo2.prg - Binding Harbour functions (calling HB functions from Javascript)
demo3.prg - Inspecting DBF files with Javascript
demo4.prg - Injecting PRG code written entirely in Harbour from JavaScript
demo5.prg - Querying SQLite from Javascript
demo6.prg: You can navigate the directory tree and open files that are in the list of allowed extensions (new instances of HB_WebView are created entirely from Javascript code).

Demos in HMG:
demo hmg.prg - is an integration of the previous examples integrated into the HMG environment (Windows platform demo)

See documentation in HB_WebView.pdf file.

I hope it is useful to you!

Best Regards,
Claudio

PS: in batch files attachment the compiler path was established as C:\hmg.3.6\
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
srvet_claudio
Posts: 2220
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: HB_WebView (a cross-platform Webview library)

Post by srvet_claudio »

Rathinagiri wrote: Sat May 03, 2025 6:03 pm Wow Claudio! Sorry I have not seen this thread because of my other commitments. No words to thank you brother!
srvet_claudio wrote: Thu Mar 13, 2025 11:35 pm I have developed HB_WebView a Harbour wrapper for Webview library.

Webview library is a tiny cross-platform webview library for C/C++ to build modern cross-platform GUIs.
The goal of the Webview library is to create a common HTML5 UI abstraction layer for the most widely used platforms.
It supports two-way JavaScript bindings (to call JavaScript from C/C++ and to call C/C++ from JavaScript).

Now with HB_Webview you can easily bind HB/HMG functions with Javascript, that is, you can call any HB/HMG function from an HTML page.

Roberto's dream is now a reality!
With HB_Webview can now be easily bind with Roberto's JMG (https://www.hmgforum.com/viewforum.php?f=50).

Demos written in pure Harbor (cross-platform demos):

demo1.prg - Web browsing in Harbour
demo2.prg - Binding Harbour functions (calling HB functions from Javascript)
demo3.prg - Inspecting DBF files with Javascript
demo4.prg - Injecting PRG code written entirely in Harbour from JavaScript
demo5.prg - Querying SQLite from Javascript
demo6.prg: You can navigate the directory tree and open files that are in the list of allowed extensions (new instances of HB_WebView are created entirely from Javascript code).

Demos in HMG:
demo hmg.prg - is an integration of the previous examples integrated into the HMG environment (Windows platform demo)

See documentation in HB_WebView.pdf file.

I hope it is useful to you!

Best Regards,
Claudio

PS: in batch files attachment the compiler path was established as C:\hmg.3.6\
I'm glad, my friend, that I can be of use to you.
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
Post Reply