Hi there, so here is a little description how to remove the dependencies of agyshell for WinCE systems:
in WinCEInt.pp remove the use of agyshell in the uses clauses
{$ifdef Win32}
win32compat,
{$else}
//aygshell,
{$endif}
Do the same in WinCEProc.pp and WinCEWSmenus.pp.
When you now compile you should get some errors. This is cause some record types and constants are declared in Agyshell.pp that are needed.
Copy the required declarations from aygshell to the unit files.
After that, still some compile errors while occure. this are the SH* functions of the aygshell. Comment them out. Most of the call seems to be useless anyway.
After this the compiliation should work without errors and the compiled program work without aygshell.dll.
Btw, using the LCL Forms worked with one form, creating a second form resulted in a continous poping up of the second form. I'm not sure if this a problem in the LCL framework or in the missing aygshell.
Using standard WIN-API everything is working well, also the creation of a second or third windows.