How to use shellapi unit? lazarus / 34-Windows ---------------------------------------------------------------------- Big Hawk · 2023-09-10 05:52 Hi I want to use NOTIFYICONDATAW,it's define like this:        _NOTIFYICONDATAW         = record                                    cbSize               : DWORD;                                    hWnd                 : HWND;                                    uID                  : UINT;                                    uFlags               : UINT;                                    uCallbackMessage     : UINT;                                    hIcon                : HICON;                                    {$ifdef IELower5}                                     szTip               : array[0..63] of WCHAR;                                    {$else}                                     szTip               : array[0..127] of WCHAR;                                    {$endif}                                    {$ifdef IEhigherEqual5}                                     dwState             : DWORD;                                     dwStateMask         : DWORD;                                     szInfo              : array[0..255] of WCHAR;                                     DUMMYUNIONNAME      : record                                                            case longint of                                                                0 : ( uTimeout : UINT );                                                                1 : ( uVersion : UINT );                                                               end;                                     szInfoTitle : array[0..63] of CHAR;                                     dwInfoFlags : DWORD;                                    {$endif}                                    {$ifdef IEHighEq6}                                     guidItem : GUID;                                    {$endif}                                    end; Where could i define the compiler director:IEhigherEqual5  ? I have use command line like this: -dIEhigherEqual5 . But it not work Thanks ---------------------------------------------------------------------- marcov · 2023-09-10 19:33 Such defines are for recompiling FPC, not using releases that used precompiled units ---------------------------------------------------------------------- Big Hawk · 2023-09-12 02:57 I see. Thanks a lot