OPA ....... enrolou as linhas aqui:
Fui reconstruir assim:
C:\hb32\hwgui>
hbmk2 hwgui.hbp hbxml.hbp hwgdebug.hbp procmisc.hbpC:\hb32\hwgui>hbmk2 hwgui.hbp hbxml.hbp hwgdebug.hbp procmisc.hbp
hbmk2: Alvo atualizado: lib\libhwgui.a
hbmk2: Alvo atualizado: lib\libhbxml.a
hbmk2: Alvo atualizado: lib\libhwgdebug.a
hbmk2: Alvo atualizado: lib\libprocmisc.a
C:\hb32\hwgui>hbmk2 hwgui.hbp hbxml.hbp hwgdebug.hbp procmisc.hbp
hbmk2: Harbour: Compilando módulos...
hbmk2: Compilando...
source\winapi\hmonthc.prg: In function 'HB_FUN_HWG_INITMONTHCALENDAR':
source\winapi\hmonthc.prg:137:26: warning: passing argument 3 of 'CreateWindowEx
W' from incompatible pointer type [-Wincompatible-pointer-types]
In file included from c:/hb32/comp/mingw/i686-w64-mingw32/include/windows.h:72:0
,
from source\winapi\hmonthc.prg:119:
c:/hb32/comp/mingw/i686-w64-mingw32/include/winuser.h:2135:26: note: expected 'L
PCWSTR {aka const short unsigned int *}' but argument is of type 'char *'
WINUSERAPI HWND WINAPI CreateWindowExW(DWORD dwExStyle,LPCWSTR lpClassName,LP
CWSTR lpWindowName,DWORD dwStyle,int X,int Y,int nWidth,int nHeight,HWND hWndPar
ent,HMENU hMenu,HINSTANCE hInstance,LPVOID lpParam);
^
../../../../source/winapi/draw.c: In function 'HB_FUN_HWG_SAVEBITMAP':
../../../../source/winapi/draw.c:816:20: warning: passing argument 1 of 'CreateD
CW' from incompatible pointer type [-Wincompatible-pointer-types]
hDC = CreateDC( "DISPLAY", NULL, NULL, NULL );
^
In file included from c:/hb32/comp/mingw/i686-w64-mingw32/include/windows.h:71:0
,
from ../../../../include/hwingui.h:17,
from ../../../../source/winapi/draw.c:15:
c:/hb32/comp/mingw/i686-w64-mingw32/include/wingdi.h:2694:24: note: expected 'LP
CWSTR {aka const short unsigned int *}' but argument is of type 'char *'
WINGDIAPI HDC WINAPI CreateDCW(LPCWSTR pwszDriver,LPCWSTR pwszDevice,LPCWSTR
pszPort,CONST DEVMODEW *pdm);
^
../../../../source/winapi/registry.c: In function 'HB_FUN_HWG_REGCREATEKEY':
../../../../source/winapi/registry.c:30:43: warning: passing argument 2 of 'RegC
reateKeyExW' from incompatible pointer type [-Wincompatible-pointer-types]
if( RegCreateKeyEx( (HKEY)hb_parnl(1), hb_parc(2), 0, NULL, 0, KEY_ALL_ACCES
S,
^
In file included from c:/hb32/comp/mingw/i686-w64-mingw32/include/windows.h:76:0
,
from ../../../../source/winapi/registry.c:13:
c:/hb32/comp/mingw/i686-w64-mingw32/include/winreg.h:152:25: note: expected 'LPC
WSTR {aka const short unsigned int *}' but argument is of type 'const char *'
WINADVAPI LONG WINAPI RegCreateKeyExW(HKEY hKey,LPCWSTR lpSubKey,DWORD Reserv
ed,LPWSTR lpClass,DWORD dwOptions,REGSAM samDesired,LPSECURITY_ATTRIBUTES lpSecu
rityAttributes,PHKEY phkResult,LPDWORD lpdwDisposition);
^
../../../../source/winapi/registry.c: In function 'HB_FUN_HWG_REGOPENKEY':
../../../../source/winapi/registry.c:47:41: warning: passing argument 2 of 'RegO
penKeyExW' from incompatible pointer type [-Wincompatible-pointer-types]
if( RegOpenKeyEx( (HKEY)hb_parnl(1), hb_parc(2), 0, KEY_ALL_ACCESS,
^
In file included from c:/hb32/comp/mingw/i686-w64-mingw32/include/windows.h:76:0
,
from ../../../../source/winapi/registry.c:13:
c:/hb32/comp/mingw/i686-w64-mingw32/include/winreg.h:176:25: note: expected 'LPC
WSTR {aka const short unsigned int *}' but argument is of type 'const char *'
WINADVAPI LONG WINAPI RegOpenKeyExW(HKEY hKey,LPCWSTR lpSubKey,DWORD ulOption
s,REGSAM samDesired,PHKEY phkResult);
^
../../../../source/winapi/registry.c: In function 'HB_FUN_HWG_REGSETSTRING':
../../../../source/winapi/registry.c:71:42: warning: passing argument 2 of 'RegS
etValueExW' from incompatible pointer type [-Wincompatible-pointer-types]
if( RegSetValueEx( (HKEY)hb_parnl(1), hb_parc(2), 0, REG_SZ,
^
In file included from c:/hb32/comp/mingw/i686-w64-mingw32/include/windows.h:76:0
,
from ../../../../source/winapi/registry.c:13:
c:/hb32/comp/mingw/i686-w64-mingw32/include/winreg.h:195:25: note: expected 'LPC
WSTR {aka const short unsigned int *}' but argument is of type 'const char *'
WINADVAPI LONG WINAPI RegSetValueExW(HKEY hKey,LPCWSTR lpValueName,DWORD Rese
rved,DWORD dwType,CONST BYTE *lpData,DWORD cbData);
^
../../../../source/winapi/registry.c: In function 'HB_FUN_HWG_REGSETBINARY':
../../../../source/winapi/registry.c:80:42: warning: passing argument 2 of 'RegS
etValueExW' from incompatible pointer type [-Wincompatible-pointer-types]
if( RegSetValueEx( (HKEY)hb_parnl(1), hb_parc(2), 0, REG_BINARY,
^
In file included from c:/hb32/comp/mingw/i686-w64-mingw32/include/windows.h:76:0
,
from ../../../../source/winapi/registry.c:13:
c:/hb32/comp/mingw/i686-w64-mingw32/include/winreg.h:195:25: note: expected 'LPC
WSTR {aka const short unsigned int *}' but argument is of type 'const char *'
WINADVAPI LONG WINAPI RegSetValueExW(HKEY hKey,LPCWSTR lpValueName,DWORD Rese
rved,DWORD dwType,CONST BYTE *lpData,DWORD cbData);
^
hbmk2: Criando biblioteca estáticas... lib\libhwgui.a
hbmk2: Harbour: Compilando módulos...
hbmk2: Compilando...
hbmk2: Criando biblioteca estáticas... lib\libhbxml.a
hbmk2: Harbour: Compilando módulos...
hbmk2: Compilando...
hbmk2: Criando biblioteca estáticas... lib\libhwgdebug.a
hbmk2: Harbour: Compilando módulos...
hbmk2: Compilando...
hbmk2: Criando biblioteca estáticas... lib\libprocmisc.a
C:\hb32\hwgui>