Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SHFileOperation
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Miscellaneous
Thread ID:
00701236
Message ID:
00701418
Views:
14
>Hi George,
>
>You're mistaken. The fFlags member size is 2 bytes. Here's correct definition of SHFILEOPSTRUCT structure
lcFileOpStruct  = NumToLONG(_screen.hWnd) + ;
>                NumToLONG(FO_COPY) + ;
>                NumToLONG(lnStringBase) + ;
>                NumToLONG(lnStringBase + LEN(lcSourceString)) + ;
>                NumToWORD(lnFlag) + ;
>                NumToLONG(0) + ;
>                NumToLONG(0) + ;
>                NumToLONG(lnProgressTitle )
You're right, Sergey, sorry. fFlags is used in a number of places and, usually, it's a DWORD instead of a WORD. < Serves me right for trusting my memory< g > >
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform