Webview2 sobre version antigua de Fivewin

Post Reply
hmpaquito
Posts: 1534
Joined: Thu Oct 30, 2008 2:37 pm

Webview2 sobre version antigua de Fivewin

Post by hmpaquito »

Hola a todos,

En mi .exe uso normalmente una version antigua de fwh.
Adquiri la version fwh 24.09

¿ Podria usar webview2 de fwh 24.09 en mi .exe basado en version antigua de fwh ?

Gracias de antemano
User avatar
Antonio Linares
Site Admin
Posts: 44515
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Webview2 sobre version antigua de Fivewin

Post by Antonio Linares »

Hola Paco,

En principio si. Extrae los modulos y enlázalos
regards, saludos

Antonio Linares
www.fivetechsoft.com
hmpaquito
Posts: 1534
Joined: Thu Oct 30, 2008 2:37 pm

Re: Webview2 sobre version antigua de Fivewin

Post by hmpaquito »

Gracias Antonio,

Pero estoy usando BCC++ 7.3 y no tiene acceso a webview.
La unica forma seria, segun me dice la IA, creando una DLL en mingw y luego haciendo un wrapper.

¿ Tendria ya alguien funcionando webview en BCC++ ?
User avatar
Antonio Linares
Site Admin
Posts: 44515
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Webview2 sobre version antigua de Fivewin

Post by Antonio Linares »

webview funciona correctamente con bcc 7.7

Que problemas tienes con la 7.3 ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
hmpaquito
Posts: 1534
Joined: Thu Oct 30, 2008 2:37 pm

Re: Webview2 sobre version antigua de Fivewin

Post by hmpaquito »

Gracias Antonio,

BCC++ 7.3.

Probando para Webview
Compilo TWebView.prg y enlazo su .obj y me da los siguientes errores:
Turbo Incremental Link 6.90 Copyright (c) 1997-2017 Embarcadero Technologies, Inc.
Error: Unresolved external '_HB_FUN_WEBVIEW_CREATE' referenced from C:\PW\GRO\TWEBVIEW.OBJ
Error: Unresolved external '_HB_FUN_WEBVIEW_NAVIGATE' referenced from C:\PW\GRO\TWEBVIEW.OBJ
Error: Unresolved external '_HB_FUN_WEBVIEW_SETHTML' referenced from C:\PW\GRO\TWEBVIEW.OBJ
Error: Unresolved external '_HB_FUN_WEBVIEW_RUN' referenced from C:\PW\GRO\TWEBVIEW.OBJ
Error: Unresolved external '_HB_FUN_WEBVIEW_EVAL' referenced from C:\PW\GRO\TWEBVIEW.OBJ
Error: Unresolved external '_HB_FUN_WEBVIEW_INIT' referenced from C:\PW\GRO\TWEBVIEW.OBJ
Error: Unresolved external '_HB_FUN_WEBVIEW_GETWINDOW' referenced from C:\PW\GRO\TWEBVIEW.OBJ
Error: Unresolved external '_HB_FUN_WEBVIEW_UNBIND' referenced from C:\PW\GRO\TWEBVIEW.OBJ
Error: Unresolved external '_HB_FUN_WEBVIEW_RETURN' referenced from C:\PW\GRO\TWEBVIEW.OBJ
Error: Unresolved external '_HB_FUN_WEBVIEW_SETTITLE' referenced from C:\PW\GRO\TWEBVIEW.OBJ
Error: Unresolved external '_HB_FUN_WEBVIEW_SETSIZE' referenced from C:\PW\GRO\TWEBVIEW.OBJ
Error: Unresolved external '_HB_FUN_WEBVIEW_SETUSERAGENT' referenced from C:\PW\GRO\TWEBVIEW.OBJ
Error: Unresolved external '_HB_FUN_WEBVIEW_TERMINATE' referenced from C:\PW\GRO\TWEBVIEW.OBJ
Error: Unresolved external '_HB_FUN_WEBVIEW_OPENDEVTOOLSWINDOW' referenced from C:\PW\GRO\TWEBVIEW.OBJ
Error: Unresolved external '_HB_FUN_WEBVIEW_DISPATCH' referenced from C:\PW\GRO\TWEBVIEW.OBJ
Error: Unresolved external '_HB_FUN_WV_SENDTOFWH' referenced from C:\PW\GRO\TWEBVIEW.OBJ
Error: Unresolved external '_HB_FUN_WEBVIEW_BIND' referenced from C:\PW\GRO\TWEBVIEW.OBJ
Error: Unresolved external '_HB_FUN_WEBVIEW_DESTROY' referenced from C:\PW\GRO\TWEBVIEW.OBJ
Probando para Webview2
Compilo TWebView2.prg incluyendo webview2.c con pragma y enlazo su .obj y me da los siguientes errores:
Turbo Incremental Link 6.90 Copyright (c) 1997-2017 Embarcadero Technologies, Inc.
Error: Unresolved external '_webview2_new' referenced from C:\PW\GRO\TWEBVIEW2.OBJ
Error: Unresolved external '_webview2_navigate' referenced from C:\PW\GRO\TWEBVIEW2.OBJ
Error: Unresolved external '_webview2_sethtml' referenced from C:\PW\GRO\TWEBVIEW2.OBJ
Error: Unresolved external '_webview2_setsize' referenced from C:\PW\GRO\TWEBVIEW2.OBJ
Error: Unresolved external '_webview2_setuseragent' referenced from C:\PW\GRO\TWEBVIEW2.OBJ
Error: Unresolved external '_webview2_opendevtoolswindow' referenced from C:\PW\GRO\TWEBVIEW2.OBJ
Error: Unresolved external '_webview2_eval' referenced from C:\PW\GRO\TWEBVIEW2.OBJ
Error: Unresolved external '_webview2_end' referenced from C:\PW\GRO\TWEBVIEW2.OBJ
User avatar
Antonio Linares
Site Admin
Posts: 44515
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Webview2 sobre version antigua de Fivewin

Post by Antonio Linares »

Tienes que extraer cwebview.obj desde FiveHC.lib y enlazarlo
regards, saludos

Antonio Linares
www.fivetechsoft.com
hmpaquito
Posts: 1534
Joined: Thu Oct 30, 2008 2:37 pm

Re: Webview2 sobre version antigua de Fivewin

Post by hmpaquito »

Magnífico Antonio,

Funcionando webview2 con BCC++ 7.3

Muchas gracias
Post Reply