Re: [fpc-pascal] Exe size

2008-09-05 Thread Marco van de Voort
In our previous episode, Paul said: > > 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

Re: [fpc-pascal] Exe size

2008-09-05 Thread Paul
- Original Message - From: "Marco van de Voort" <[EMAIL PROTECTED]> Note that wince's api is a subset of winapi. And that VS will suffer from that also. I know, but for a remote support system, I need to control the computer. For CE, it wil be very basic though. Paul

Re: [fpc-pascal] Exe size

2008-09-05 Thread Felipe Monteiro de Carvalho
On Fri, Sep 5, 2008 at 4:26 AM, Paul <[EMAIL PROTECTED]> wrote: > I know, but for a remote support system, I need to control the computer. > For CE, it wil be very basic though. What does "control the computer" mean? And how is that something that VS can achieve and Lazarus cannot? -- Felipe Mon

Re: [fpc-pascal] Exe size

2008-09-05 Thread Tomas Hajny
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

Re: [fpc-pascal] Exe size

2008-09-05 Thread Leonardo M . Ramé
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

[fpc-pascal] Speed difference between intel/ppc on intel Mac

2008-09-05 Thread Tom Verhoeff
I have an Intel-based MacBook Pro. Until recently, I still used a PowerPC version of FPC. PowerPC code on this machine runs through (invisible) emulation. However, I upgraded now to FPC 2.2.2 for Intel on mac. And to my surprise one of my time-consuming apps is twice slower, instead of faster.

[fpc-pascal] License question; unit to view floating-point details

2008-09-05 Thread Tom Verhoeff
I have a created a unit FloatView to help you inspect in detail 32-bit (Single) and 64-bit (Double) IEEE 754 floating-point values (in case "every bit counts; note that when floating-point numbers are output in decimal, some information is inevitably lost). I would like to contribute this unit, an

[fpc-pascal] Using TSdfDataset

2008-09-05 Thread Felipe Monteiro de Carvalho
Hello, I am trying to use TSdfDataset, but without success. I get the following crash: Breakpoint 1, 0xf386 in fpc_raiseexception () (gdb) bt #0 0xf386 in fpc_raiseexception () #1 0x001e0009 in DB_TFIELD_$__GETASVARIANT$$VARIANT () #2 0x0002dd4d in TMAINFORM__CREATE (AOWNER=0x134d010,

[fpc-pascal] Re: Using TSdfDataset

2008-09-05 Thread Felipe Monteiro de Carvalho
Umm, there do is db code there, but it's inside some other routine, which does not show in the backtrace somehow: procedure TComponentsDatabase.FillStringListWithNames(AStringList: TStrings); var i: Integer; begin AStringList.Clear; for i := 1 to FDataset.RecordCount do begin FDataset

[fpc-pascal] Re: Using TSdfDataset

2008-09-05 Thread Felipe Monteiro de Carvalho
Extra information: Free Pascal 2.2.2 Mac OS X 10.4 -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal