size_t fw_wcslen( const wchar_t * s )
{
const wchar_t *p;
p = s;
while (*p)
p++;
return p - s;
}
…...
pDir = fw_parWideLen( 4, 512 );
wLen = ( ( dwFlags & OFN_ALLOWMULTISELECT ) ? SIZE_IN_BYTES : 512 ); //reactivate
pFile = fw_parWideLen( 8, wLen ); //change
pFilter = fw_parWideLen( 1, 800 );
pText = ( LPSTR ) pFilter;
for ( w = 0; w < 800; w++ )
…...
ofn.nMaxFile = wLen; //change
…...
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 47 guests