Forum > WinCE

indy version

(1/3) > >>

mangakissa:
Which indy version is compatible with winCE?
I created a small application to read a html page with TidHTTP but got error:


--- Quote ---C:\lazarus\Indy10\Lib\Lazarus\IdGlobal.pas(4945,43) Error: Identifier not found "GetWindowsDirectory"
--- End quote ---

I can use compiler directive WINCE, but still got errors from pchar which use to be pwidechar for winCE.

I installed 10.56x in indy

rvk:
Version 10.56x ?? (where did you get that?)
If i look at the indyproject pages i can see 2 versions for the website:
http://www.indyproject.org/Sockets/fpc/index.en.html (with indy-10.2.0.1.zip)
http://www.indyproject.org/Sockets/fpc/index.EN.aspx (with indy-10.2.0.3.zip)
(really weird why they have 2 websites like that)
But WinCE should be supported.

Of i download the SVN via http://www.indyproject.org/Sockets/Download/svn.EN.aspx
and look in trunk/lib/system/idGlobal.pas i see:


--- Code: ---  {$IFDEF WINDOWS}
    {$IFNDEF WINCE}
  SetLength(sLocation, MAX_PATH);
  SetLength(sLocation, GetWindowsDirectory(
...
  // GetWindowsDirectory() does not exist in WinCE, and there is no system folder, either
  sLocation := '\Windows\'; {do not localize}
...

--- End code ---
So according to that WinCE should be supported.

Do you have similar code in your idGlobal.pas?

indy-10.2.0.1.zip and indy-10.2.0.3 do not have this WINCE define.
Indy 10.5.8 doesn't either. But Indy 10.6.0 does have the define.
And, as said earlier, trunk does too. So i guess you need a newer version.

marcov:
I ran a handful of clients (of indy10) on wince a while back, but afaik there is no such thing as a supported version.

Rick, you need to get daily zips from fulgan

rvk:

--- Quote from: marcov on September 17, 2014, 08:40:06 pm ---Rik   :), you need to get daily zips from fulgan

--- End quote ---
Why?

Is there a difference between the trunk found in the link i gave:
https://svn.atozed.com:444/svn/Indy10/trunk
and the one on http://indy.fulgan.com/ZIP/ ??
They are the same version. (both revision 5187 at this moment)

ChrisF:
AFAIK, the "official" link for the public releases of the current versions of Indy (mainly maintained by Remy Lebeau) is:

http://indy.fulgan.com/ZIP/

Just in case, there is also an Indy forum (if you don't already know it):

http://forums2.atozed.com/

Navigation

[0] Message Index

[#] Next page

Go to full version