hi,
i use API SHFileOperation() to "backup" Files from HDD/SSD to USB-Stick.
i have to use CODEPAGE and "A"nsi API Function else i got Problem with German "Umlaute"
now this work fine as 32 Bit App and it "seems" to work in 64 Bit App ...
64 Bit App does work ... but if have a "big" Number of Files i got
DE_ERROR_MAX 0xB7 MAX_PATH was exceeded during the operation.
! Note : 32 Bit App does work on same big" Number of Files
so what does Error mean ? how to fix it ?
greetings Jimmy
used Structure
HB_FUNC ( SHELLFILEOPERATION )
{
SHFILEOPSTRUCT sh;
ZeroMemory (&sh, sizeof(SHFILEOPSTRUCT));
sh.hwnd = ( HWND ) HMG_parnl( 1 );
sh.pFrom = HMG_parc(2);
sh.pTo = HMG_parc(3);
sh.wFunc = hb_parnl(4);
sh.fFlags = hb_parnl(5);
sh.hNameMappings = 0;
sh.lpszProgressTitle = NULL;
hb_retnl( SHFileOperation (&sh) );
}