I found this function and I insert it on Image.prg class
on test sample I insert a combobox
@ 240,oDlg:nWidth-120 COMBOBOX oRotate VAR nRotate ;
ITEMS {"90","180","270","360"} ;
OF oDlg FONT oFnt PIXEL SIZE 35,200 ;
ON CHANGE FIRotate(oImage,nRotate)
but it make error
Error: Unresolved external '_HB_FUN_FIROTATE' referenced from F:\GALLERIA\OBJ\TEST.OBJ
any solution ?
DLL32 STATIC FUNCTION FIRotate ( hDib AS LONG, nAngle AS _DOUBLE ) AS LONG;
PASCAL FROM "_FreeImage_RotateClassic@12" LIB If( IsWin64(), "freeImage64.dll", "freeImage.dll" )
DLL32 STATIC FUNCTION FIRotateEX ( hDib AS LONG, nAngle AS _DOUBLE, x_Shift AS _DOUBLE,y_Shift AS _DOUBLE,;
x_Orig AS _DOUBLE, y_Orig AS _DOUBLE, lMask AS BOOL ) AS LONG;
PASCAL FROM "_FreeImage_RotateEx@48" LIB If( IsWin64(), "freeImage64.dll", "freeImage.dll" )on test sample I insert a combobox
@ 240,oDlg:nWidth-120 COMBOBOX oRotate VAR nRotate ;
ITEMS {"90","180","270","360"} ;
OF oDlg FONT oFnt PIXEL SIZE 35,200 ;
ON CHANGE FIRotate(oImage,nRotate)
but it make error
Error: Unresolved external '_HB_FUN_FIROTATE' referenced from F:\GALLERIA\OBJ\TEST.OBJ
any solution ?
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com




