Recent

Author Topic: Normal Windows CE NOT Windows Mobile  (Read 4708 times)

valutcizen

  • Newbie
  • Posts: 1
Normal Windows CE NOT Windows Mobile
« on: October 28, 2010, 08:23:43 am »
How can I write program to normal Windows CE - NOT Windows Mobile?

felipemdc

  • Administrator
  • Hero Member
  • *
  • Posts: 3541
Re: Normal Windows CE NOT Windows Mobile
« Reply #1 on: October 28, 2010, 09:11:02 am »
Yes.

If you using Lazarus to build the user interface, it will attempt to auto-detect the kind of device and execute automatic adjustments to help fit the GUI to the device.

LazaruX

  • Hero Member
  • *****
  • Posts: 597
  • Lazarus original cheetah.The cheetah doesn't cheat
Re: Normal Windows CE NOT Windows Mobile
« Reply #2 on: October 28, 2010, 11:29:49 am »
Strange question and strange answer.
As I knew Windows CE is just the old naming of Windows Mobile (or PocketPC).
Your answer felipe does not seem to be the answer to the above question, or am i confused?

Zaher

  • Hero Member
  • *****
  • Posts: 577
    • parmaja.com
Re: Normal Windows CE NOT Windows Mobile
« Reply #3 on: October 28, 2010, 12:38:08 pm »
BPsoftware, felipe answer is correct, your exe in the wince/wm will auto detect the system to show the forms
or you can add to your project

    Application.Initialize;
    Application.ApplicationType := atPDA; //or atDesktop

felipemdc

  • Administrator
  • Hero Member
  • *
  • Posts: 3541
Re: Normal Windows CE NOT Windows Mobile
« Reply #4 on: October 28, 2010, 01:07:44 pm »
   Application.Initialize;
    Application.ApplicationType := atPDA; //or atDesktop

One correction: The order of the commands above should be inverted.