[fpc-pascal] Exe size

Leonardo M. Ramé martinrame at yahoo.com
Fri Sep 5 19:21:28 CEST 2008


Paul, can you post an example of what do you want to do? a couple of API calls your Win32 app is calling?. Maybe we can help translating those calls to the WinCE version (I'm pretty sure the functions will work without changes).

Leonardo M. Ramé
http://leonardorame.blogspot.com


--- On Fri, 9/5/08, Tomas Hajny <XHajT03 at mbox.vol.cz> wrote:

> From: Tomas Hajny <XHajT03 at mbox.vol.cz>
> Subject: Re: [fpc-pascal] Exe size
> To: "FPC-Pascal users discussions" <fpc-pascal at lists.freepascal.org>
> Date: Friday, September 5, 2008, 2:13 PM
> On Fri, September 5, 2008 08:51, Paul wrote:
> 
> 
> Hi Paul,
> 
> >> If you use a (cross-)compiler for ARM target
> processor, the generated
> >> binary will be indeed an ARM binary, of course
> (ready to run on an
> >> ARM under the selected target OS - WinCE in your
> case). If targetting
> >> WinCE OS, you can only use WinCE RTL and/or other
> units prepared for
> >> that target, so if the particular API isn't
> supported for WinCE (as
> >> opposed to other WinXX platforms), it simply
> won't compile.
> >>
> >
> > This is bad news for me, I need control over the
> computer.
> > The Windows version of the program uses a lot of api
> calls.
> > Seems my only option is use Visual Studio :-(
> 
> Similarly to Felipe, I don't understand why this should
> be a bad news for
> you or why this should mean that Visual Studio gave you
> something not
> available with FPC (or what that "something" was
> in that case)... It looks
> as if I either don't understand what you meant with the
> statement above,
> or that I didn't express myself clearly and you
> understood me differently
> (and that Marco's additional explanation regarding
> relation between Win32
> and WinCE API hasn't helped to clarify that either).
> 
> Tomas
> 
> 
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal


      



More information about the fpc-pascal mailing list