* * *

Author Topic: Windows CE compact embedded 7 - HELP!!!!  (Read 608 times)

izio70

  • New member
  • *
  • Posts: 5
Windows CE compact embedded 7 - HELP!!!!
« on: March 08, 2017, 09:42:21 am »
Hi there,
i need to develop a simple app for an old wince7 hardware.....i need to know if i can do with lazarus (i hate .net and vstudio).

I  follow this post, but it seems that the changes are incomplete or with errors:
http://forum.lazarus.freepascal.org/index.php/topic,31533.0.html

when i build app, unit WinceWSmenus get many errors.

I need help!!!!! :-X
anyone has solutions?

avra

  • Hero Member
  • *****
  • Posts: 871
    • Additional info
Re: Windows CE compact embedded 7 - HELP!!!!
« Reply #1 on: March 08, 2017, 10:01:12 am »
Have you tried to find aygshell.dll from a little older WinCE (or from internet) and put it in executable directory?
ct2laz - Easily convert components and projects between Lazarus and CodeTyphon

izio70

  • New member
  • *
  • Posts: 5
Re: Windows CE compact embedded 7 - HELP!!!!
« Reply #2 on: March 08, 2017, 10:17:31 am »
yes...

i find some aygshell.dll and i try...but "Access violation..." and quit...

the app is very simple: a form and one button.

Hardware is ARM  with Windows ce Compact embedded 7


avra

  • Hero Member
  • *****
  • Posts: 871
    • Additional info
Re: Windows CE compact embedded 7 - HELP!!!!
« Reply #3 on: March 08, 2017, 07:05:48 pm »
i find some aygshell.dll and i try...but "Access violation..." and quit...
"Some" is not good enough. There are 18 versions here: http://hpcmonex.net/izemize/aygshells.zip. Try one by one until you find a good one. More info can be found here: http://wiki.lazarus.freepascal.org/WinCE_Programming_Tips#Missing_aygshell.dll
ct2laz - Easily convert components and projects between Lazarus and CodeTyphon

izio70

  • New member
  • *
  • Posts: 5
Re: Windows CE compact embedded 7 - HELP!!!!
« Reply #4 on: March 09, 2017, 12:51:13 am »
i try all...12,13 and 14 access violation...others dont works...i think the proble is arm binary....hardware cpu is armv7a and if i try to set in lazarus compiler i get error

avra

  • Hero Member
  • *****
  • Posts: 871
    • Additional info
Re: Windows CE compact embedded 7 - HELP!!!!
« Reply #5 on: March 09, 2017, 10:37:09 am »
Try to copy this fake aygshell.dll to Windows dir on your WinCE:
http://www.wincesoft.de/aygshell.dll

Read also:
http://web.archive.org/web/20071008220449/http://pages.ccapcable.com/lac/PPC_on_HPC.html

List of supported devices and some more very important info about GAPI (if used at all, which I doubt):
http://www.wincesoft.de/html/gapi_for_hpc_s.html
http://www.wincesoft.de/html/ppc_apps_on_hpc_s.html

You can check if some other dll is needed with this tool:
http://www.geocities.co.jp/SiliconValley-Cupertino/2039/ExecutabilityCheck.zip
« Last Edit: March 09, 2017, 10:42:50 am by avra »
ct2laz - Easily convert components and projects between Lazarus and CodeTyphon

izio70

  • New member
  • *
  • Posts: 5
Re: Windows CE compact embedded 7 - HELP!!!!
« Reply #6 on: March 09, 2017, 08:11:51 pm »
I have tried all of your suggestions. does not work.
thank you so much for helping me, if you have other ideas I do other tests.

Kelsey

  • Newbie
  • Posts: 2
Re: Windows CE compact embedded 7 - HELP!!!!
« Reply #7 on: April 26, 2017, 04:21:04 pm »
Make sure you have the following Project Options set:
Compiler Options -> Target OS -> WinCE
Compiler Options -> Target CPU family -> arm
Compiler Options -> Additions and Overrides -> Set "LCLWidgetType" -> Value "wince"
Then compile, if the exe is too large go back into Project Options, Create a Release build mode and select that.

As for running on the device, I found I needed to switch the following form properties:
Position = poScreenCenter
Visible = true
KeyPreview = true (if you plan on accepting key presses)

If you still can't get it to work, try copying and pasting the code and I'll take a look.

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus