Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2009-03

ActiveX COM OLE2 on WinCE Arm

5 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Henrik Genssen

Hi,

I wonder how to use CreateOLEObject on Wince.
per default ActiveX, comobj, comconst, ole2 are not available for Wince. Copying the files from: C:\lazarus\fpc\2.2.2\source\packages\winunits-base\src into my project it compiles well (and links well :-)) but starting the app on a M55 device gives an error: "not a valid Pocket PC application"

any idea?

Hinnack

Reply by email

Henrik Genssen
to Henrik Genssen

I was using lazarus-0.9.26-fpc-2.2.2-win32.exe.
After updateing those files from SVN TRUNC, everything seems to work.

should'nt those file be copied to C:\lazarus\fpc\2.2.2\source\packages\winceunits\src or can I use all units from C:\lazarus\fpc\2.2.2\source\packages\winunits-base\src on wince, too?

regards

Hinnack

Show quoted text 21 lines
reply to message: date: 14.03.2009 11:17:53 from: "Henrik Genssen" to: subject: [fpc-pascal] ActiveX COM OLE2 on WinCE Arm Hi, I wonder how to use CreateOLEObject on Wince. per default ActiveX, comobj, comconst, ole2 are not available for Wince. Copying the files from: C:\lazarus\fpc\2.2.2\source\packages\winunits-base\src into my project it compiles well (and links well :-)) but starting the app on a M55 device gives an error: "not a valid Pocket PC application" any idea? Hinnack _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply by email

Felipe Monteiro de Carvalho
to Henrik Genssen
Henrik Genssen wrote
I was using lazarus-0.9.26-fpc-2.2.2-win32.exe. After updateing those files from SVN TRUNC, everything seems to work.

With svn trunc do you mean FPC 2.3.1 ?

Felipe Monteiro de Carvalho

Reply by email

Henrik Genssen
to Felipe Monteiro de Carvalho

I took the files from:
http://svn.freepascal.org/svn/fpc/trunk/packages/winunits-base/src/

Hinnack >reply to message: >date: 16.03.2009 21:24:51 >from: "Felipe Monteiro de Carvalho" >to: "FPC-Pascal users discussions" >subject: Re: [fpc-pascal] ActiveX COM OLE2 on WinCE Arm > >On Mon, Mar 16, 2009 at 6:35 AM, Henrik Genssen > wrote: >> I was using lazarus-0.9.26-fpc-2.2.2-win32.exe. >> After updateing those files from SVN TRUNC, everything seems to work. > >With svn trunc do you mean FPC 2.3.1 ? > >-- >Felipe Monteiro de Carvalho >_______________________________________________ >fpc-pascal maillist - >http://lists.freepascal.org/mailman/listinfo/fpc-pascal >

Reply by email