Index: src/common/ipcstructs.h =================================================================== diff -u -N -rce5a87f4daca41daeb018a27e9ecdd353fb80c1e -rb5f6c00d1615afa6d26e4d74e564afe0af893174 --- src/common/ipcstructs.h (.../ipcstructs.h) (revision ce5a87f4daca41daeb018a27e9ecdd353fb80c1e) +++ src/common/ipcstructs.h (.../ipcstructs.h) (revision b5f6c00d1615afa6d26e4d74e564afe0af893174) @@ -65,6 +65,10 @@ class CSharedConfigStruct { public: + _SHORTCUT* GetShortcutsPtr() const { return (_SHORTCUT*)(byData + iCommandCount * sizeof(_COMMAND)); } + _COMMAND* GetCommandsPtr() const { return (_COMMAND*)byData; } + +public: UINT uiFlags; // what items and how to display in drag&drop ctx menu & explorer.ctx.menu bool bShowFreeSpace; // showthe free space by the shortcuts ? @@ -75,7 +79,7 @@ int iCommandCount; // count of commands stored at the beginning of a buffer int iShortcutsCount; // count of shortcuts to display in submenus - TCHAR szData[SHARED_BUFFERSIZE]; // buffer for texts and other stuff + BYTE byData[SHARED_BUFFERSIZE]; // buffer for texts and other stuff }; #endif