twebview2
-
- Posts: 262
- Joined: Sun Jan 31, 2010 3:30 pm
- Location: Bucaramanga - Colombia
twebview2
Buen dia..
Estoy tratando de compilar los ejemplos de webView2 con xharbour comercial + fwh_24_09, pero obtengo estos errores
xLINK: error: Unresolved external symbol '_CoInitializeEx referenced from FiveHCM.lib(cwebview.obj)'.
xLINK: error: Unresolved external symbol '__imp__SHGetFolderPath referenced from FiveHCM.lib(cwebview.obj)'.
Jonsson Russi
Estoy tratando de compilar los ejemplos de webView2 con xharbour comercial + fwh_24_09, pero obtengo estos errores
xLINK: error: Unresolved external symbol '_CoInitializeEx referenced from FiveHCM.lib(cwebview.obj)'.
xLINK: error: Unresolved external symbol '__imp__SHGetFolderPath referenced from FiveHCM.lib(cwebview.obj)'.
Jonsson Russi
- Enrico Maria Giordano
- Posts: 8728
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: twebview2
You have to link ole32.lib and shfolder.lib.
-
- Posts: 262
- Joined: Sun Jan 31, 2010 3:30 pm
- Location: Bucaramanga - Colombia
Re: twebview2
Buena tarde... ole32.lib, si
pero shfolder.lib ,,,no existe en xhb ni en fwh ?
Gracias
pero shfolder.lib ,,,no existe en xhb ni en fwh ?
Gracias
- Enrico Maria Giordano
- Posts: 8728
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: twebview2
Can you send me all the *.lib files of your C compiler, please?
- Antonio Linares
- Site Admin
- Posts: 42259
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: twebview2
Estimado Jonsson,
Enlaza shell32.lib
Enlaza shell32.lib
-
- Posts: 262
- Joined: Sun Jan 31, 2010 3:30 pm
- Location: Bucaramanga - Colombia
Re: twebview2
Buen dia..
shell32.lib , ya la tenia
Con el buildxhb.bat de samples ... pasa lo mismo
Este es mi .bat (basado en samples de fwh)
@ECHO OFF
CLS
ECHO 旼컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴커
ECHO ?FiveWin for xHb commercial 23.04 - Abril. 2023 Harbour development power 넵
ECHO ?(c) FiveTech 1993-2022 for Microsoft Windows 9X/NT/200X/ME/XP/Vista/7/8/10 넴
ECHO 읕컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴켸?
ECHO 賽賽賽賽賽賽賽賽賽賽賽賽賽賽賽賽賽賽賽賽賽賽賽賽賽賽賽賽賽賽賽賽賽賽賽賽賽賽?
if A%1 == A GOTO :SINTAX
if NOT EXIST %1.prg GOTO :NOEXIST
SET xhbdir=c:\xhb
SET fwhdir=c:\fwh24_09
ECHO Compiling...
%xhbdir%\bin\xhb %1 /n /w /p /i%fwhdir%\include;%xhbdir%\include;%xhbdir%\c_include > compiler.log 2> warnings.log
IF ERRORLEVEL 1 GOTO COMPILERERROR:
@type compiler.log
@type warnings.log
IF EXIST %1.rc %xhbdir%\bin\xrc -r -d__FLAT__ -i%xhbdir%\c_include -i%xhbdir%\c_include\win %1
IF ERRORLEVEL 1 GOTO RCCOMPILERERROR:
ECHO %1.obj > xhb.tmp
IF EXIST %1.res ECHO %1.res >> xhb.tmp
ECHO lib\RussoftLib24_09.lib >> xhb.tmp
ECHO %fwhdir%\lib\fivehmx.lib >> xhb.tmp
ECHO %fwhdir%\lib\fivehcm.lib >> xhb.tmp
ECHO xhb.lib >> xhb.tmp
ECHO OptG.lib >> xhb.tmp
echo %fwhdir%\lib\xhb\hbhpdf.lib >> xhb.tmp
echo %fwhdir%\lib\xhb\harupdf.lib >> xhb.tmp
echo %fwhdir%\lib\xhb\png.lib >> xhb.tmp
echo %fwhdir%\lib\xhb\hbzebra.lib >> xhb.tmp
ECHO ? "%fwhdir%\lib\libmariadb32.lib >> xhb.tmp"
ECHO %fwhdir%\lib\libmysql32.lib >> xhb.tmp
ECHO %xhbdir%\lib\sql.lib >> xhb.tmp
ECHO %xhbdir%\lib\ads.lib >> xhb.tmp
ECHO %xhbdir%\lib\ace32.lib >> xhb.tmp
ECHO %xhbdir%\lib\dbf.lib >> xhb.tmp
ECHO %xhbdir%\lib\nsx.lib >> xhb.tmp
ECHO %xhbdir%\lib\ntx.lib >> xhb.tmp
ECHO %xhbdir%\lib\cdx.lib >> xhb.tmp
ECHO %xhbdir%\lib\rmdbfcdx.lib >> xhb.tmp
ECHO %xhbdir%\lib\ct3comm.lib >> xhb.tmp
ECHO %xhbdir%\lib\libpq.lib >> xhb.tmp
ECHO %xhbdir%\lib\fbclient_ms.lib >> xhb.tmp
ECHO %xhbdir%\lib\oci.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\crt.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\kernel32.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\user32.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\winspool.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\ole32.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\oleaut32.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\odbc32.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\odbccp32.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\uuid.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\wsock32.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\ws2_32.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\wininet.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\advapi32.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\shlwapi.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\msimg32.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\mpr.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\OleDlg.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\version.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\comctl32.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\comdlg32.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\gdi32.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\shell32.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\winmm.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\lz32.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\Netapi32.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\gdiplus.lib >> xhb.tmp
ECHO %xhbdir%\lib\xhbzip.lib >> xhb.tmp
ECHO %xhbdir%\lib\xhbzipdll.lib >> xhb.tmp
ECHO %fwhdir%\lib\xfw.lib >> xhb.tmp
%xhbdir%\bin\xlink -NOEXPOBJ -MAP -FORCE:MULTIPLE -NOIMPLIB -SUBSYSTEM:windows -UNMANGLE -LIBPATH:"%fwhdir%\Lib" -LIBPATH:"%xhbdir%\Lib" -LIBPATH:"%xhbdir%\c_lib" -LIBPATH:"%xhbdir%\c_lib\Win" @xhb.tmp -OUT:%1.exe
IF ERRORLEVEL 1 GOTO LINKERROR
ECHO * Application successfully built *
@del %1.c
@del %1.ppo
@del %1.obj
rem @del %1.map
@del xhb.tmp
@del compiler.log
@del warnings.log
GOTO EXIT
ECHO
:COMPILERERROR
@type compiler.log
@type warnings.log
ECHO * Compiling program errors *
GOTO EXIT
:RCCOMPILERERROR
ECHO * Compiling resources errors *
GOTO EXIT
:LINKERROR
ECHO * Linking executable errors *
GOTO EXIT
:SINTAX
ECHO SYNTAX: BuildXHB [Program] {-- No especifiques la extensi?n PRG
ECHO {-- Don't specify .PRG extension
GOTO EXIT
:NOEXIST
ECHO The specified PRG %1 does not exist
:EXIT
shell32.lib , ya la tenia
Con el buildxhb.bat de samples ... pasa lo mismo
Este es mi .bat (basado en samples de fwh)
@ECHO OFF
CLS
ECHO 旼컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴커
ECHO ?FiveWin for xHb commercial 23.04 - Abril. 2023 Harbour development power 넵
ECHO ?(c) FiveTech 1993-2022 for Microsoft Windows 9X/NT/200X/ME/XP/Vista/7/8/10 넴
ECHO 읕컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴켸?
ECHO 賽賽賽賽賽賽賽賽賽賽賽賽賽賽賽賽賽賽賽賽賽賽賽賽賽賽賽賽賽賽賽賽賽賽賽賽賽賽?
if A%1 == A GOTO :SINTAX
if NOT EXIST %1.prg GOTO :NOEXIST
SET xhbdir=c:\xhb
SET fwhdir=c:\fwh24_09
ECHO Compiling...
%xhbdir%\bin\xhb %1 /n /w /p /i%fwhdir%\include;%xhbdir%\include;%xhbdir%\c_include > compiler.log 2> warnings.log
IF ERRORLEVEL 1 GOTO COMPILERERROR:
@type compiler.log
@type warnings.log
IF EXIST %1.rc %xhbdir%\bin\xrc -r -d__FLAT__ -i%xhbdir%\c_include -i%xhbdir%\c_include\win %1
IF ERRORLEVEL 1 GOTO RCCOMPILERERROR:
ECHO %1.obj > xhb.tmp
IF EXIST %1.res ECHO %1.res >> xhb.tmp
ECHO lib\RussoftLib24_09.lib >> xhb.tmp
ECHO %fwhdir%\lib\fivehmx.lib >> xhb.tmp
ECHO %fwhdir%\lib\fivehcm.lib >> xhb.tmp
ECHO xhb.lib >> xhb.tmp
ECHO OptG.lib >> xhb.tmp
echo %fwhdir%\lib\xhb\hbhpdf.lib >> xhb.tmp
echo %fwhdir%\lib\xhb\harupdf.lib >> xhb.tmp
echo %fwhdir%\lib\xhb\png.lib >> xhb.tmp
echo %fwhdir%\lib\xhb\hbzebra.lib >> xhb.tmp
ECHO ? "%fwhdir%\lib\libmariadb32.lib >> xhb.tmp"
ECHO %fwhdir%\lib\libmysql32.lib >> xhb.tmp
ECHO %xhbdir%\lib\sql.lib >> xhb.tmp
ECHO %xhbdir%\lib\ads.lib >> xhb.tmp
ECHO %xhbdir%\lib\ace32.lib >> xhb.tmp
ECHO %xhbdir%\lib\dbf.lib >> xhb.tmp
ECHO %xhbdir%\lib\nsx.lib >> xhb.tmp
ECHO %xhbdir%\lib\ntx.lib >> xhb.tmp
ECHO %xhbdir%\lib\cdx.lib >> xhb.tmp
ECHO %xhbdir%\lib\rmdbfcdx.lib >> xhb.tmp
ECHO %xhbdir%\lib\ct3comm.lib >> xhb.tmp
ECHO %xhbdir%\lib\libpq.lib >> xhb.tmp
ECHO %xhbdir%\lib\fbclient_ms.lib >> xhb.tmp
ECHO %xhbdir%\lib\oci.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\crt.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\kernel32.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\user32.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\winspool.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\ole32.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\oleaut32.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\odbc32.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\odbccp32.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\uuid.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\wsock32.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\ws2_32.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\wininet.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\advapi32.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\shlwapi.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\msimg32.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\mpr.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\OleDlg.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\version.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\comctl32.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\comdlg32.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\gdi32.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\shell32.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\winmm.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\lz32.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\Netapi32.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\gdiplus.lib >> xhb.tmp
ECHO %xhbdir%\lib\xhbzip.lib >> xhb.tmp
ECHO %xhbdir%\lib\xhbzipdll.lib >> xhb.tmp
ECHO %fwhdir%\lib\xfw.lib >> xhb.tmp
%xhbdir%\bin\xlink -NOEXPOBJ -MAP -FORCE:MULTIPLE -NOIMPLIB -SUBSYSTEM:windows -UNMANGLE -LIBPATH:"%fwhdir%\Lib" -LIBPATH:"%xhbdir%\Lib" -LIBPATH:"%xhbdir%\c_lib" -LIBPATH:"%xhbdir%\c_lib\Win" @xhb.tmp -OUT:%1.exe
IF ERRORLEVEL 1 GOTO LINKERROR
ECHO * Application successfully built *
@del %1.c
@del %1.ppo
@del %1.obj
rem @del %1.map
@del xhb.tmp
@del compiler.log
@del warnings.log
GOTO EXIT
ECHO
:COMPILERERROR
@type compiler.log
@type warnings.log
ECHO * Compiling program errors *
GOTO EXIT
:RCCOMPILERERROR
ECHO * Compiling resources errors *
GOTO EXIT
:LINKERROR
ECHO * Linking executable errors *
GOTO EXIT
:SINTAX
ECHO SYNTAX: BuildXHB [Program] {-- No especifiques la extensi?n PRG
ECHO {-- Don't specify .PRG extension
GOTO EXIT
:NOEXIST
ECHO The specified PRG %1 does not exist
:EXIT
- Enrico Maria Giordano
- Posts: 8728
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: twebview2
I need the files to search inside them for the unresolved functions.Enrico Maria Giordano wrote:Can you send me all the *.lib files of your C compiler, please?
- Antonio Linares
- Site Admin
- Posts: 42259
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
-
- Posts: 262
- Joined: Sun Jan 31, 2010 3:30 pm
- Location: Bucaramanga - Colombia
Re: twebview2
Antonio.. queda este error..
xLINK: error: Unresolved external symbol '_CoInitializeEx referenced from FiveHCM.lib(cwebview.obj)'.
xLINK: error: Unresolved external symbol '_CoInitializeEx referenced from FiveHCM.lib(cwebview.obj)'.
- Antonio Linares
- Site Admin
- Posts: 42259
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: twebview2
Por favor, vuelve a descargarla y prueba de nuevo:
https://github.com/FiveTechSoft/FWH_too ... er/xfw.lib
https://github.com/FiveTechSoft/FWH_too ... er/xfw.lib
-
- Posts: 262
- Joined: Sun Jan 31, 2010 3:30 pm
- Location: Bucaramanga - Colombia
Re: twebview2
Antonio... no se soluciono...
Esto sucede aqui .. igual ...
C:\fwh24_09\samples>buildxhb webview_2
Esto sucede aqui .. igual ...
C:\fwh24_09\samples>buildxhb webview_2
- Antonio Linares
- Site Admin
- Posts: 42259
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: twebview2
Este error ?
> xLINK: error: Unresolved external symbol '_CoInitializeEx referenced from FiveHCM.lib(cwebview.obj)'.
> xLINK: error: Unresolved external symbol '_CoInitializeEx referenced from FiveHCM.lib(cwebview.obj)'.
- Antonio Linares
- Site Admin
- Posts: 42259
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: twebview2
Por favor, vuelve a descargarla y prueba de nuevo:
https://github.com/FiveTechSoft/FWH_too ... er/xfw.lib
https://github.com/FiveTechSoft/FWH_too ... er/xfw.lib
-
- Posts: 262
- Joined: Sun Jan 31, 2010 3:30 pm
- Location: Bucaramanga - Colombia
Re: twebview2
Antonio, ya compila
Pero ejecutando estos dos ejemplos...
webview2_2
webviewdian
Llega hasta aquí... y se sale
oWebView := TWebView2():New()
Pero ejecutando estos dos ejemplos...
webview2_2
webviewdian
Llega hasta aquí... y se sale
oWebView := TWebView2():New()
- Antonio Linares
- Site Admin
- Posts: 42259
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact: