No, you have to try to change ..fpc\2.6.4\source\packages\winceunits\src\aygshell.pp to exclude api calls for SHCreateMenuBar, SHFindMenuBar, SHRecognizeGesture.
Well, another step is to recompile FPC for arm-wince (this can be tricky) or to try to copy all files from ..fpc\2.6.4\source\packages\winceunits\src\ with changed aygshell.pp to your project folder and then recompile whole project.
I didn't tried this - this is only my guess what pcler did in **://forum.lazarus.freepascal.org/index.php/topic,23237.0.html