Sign in Join

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

Mailing lists / fpc-pascal / 2013-09

TIP: fcl-web [trunk] usage with FPC 2.6.2

4 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

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

Graeme Geldenhuys

Hi,

I've been in a private conversation with Michael van Canneyt about fcl-web changes. He was kind enough to oblige with my requests. In due time those changes should make their way into 2.6.3.

Due to the fact that I work with production software, I tend to stick with released FPC versions only [stability reasons], for most of my commercial projects.

I really wanted the latest fcl-web changes though, so I took a chance and got the latest fcl-web code from Trunk. Added it to my project, added the new unit search path, and tried to compile my project.

It worked! FPC and Lazarus picked up my "preferred fcl-web" directory, and fcl-web [from trunk] is independent enough that it doesn't require any other units from FPC Trunk. So it works perfectly with the FPC 2.6.2 compiler.

[NOTE: I use fcl-web only from direct source code, I don't use the streaming or visual design support that Lazarus offers]

I just thought I would share this with others. Sometimes you can use FPC Trunk packages with an earlier FPC release.

Regards,
Graeme

silvioprog
to Graeme Geldenhuys

2013/9/25 Graeme Geldenhuys

Show quoted text 27 lines
Hi, I've been in a private conversation with Michael van Canneyt about fcl-web changes. He was kind enough to oblige with my requests. In due time those changes should make their way into 2.6.3. Due to the fact that I work with production software, I tend to stick with released FPC versions only [stability reasons], for most of my commercial projects. I really wanted the latest fcl-web changes though, so I took a chance and got the latest fcl-web code from Trunk. Added it to my project, added the new unit search path, and tried to compile my project. It worked! FPC and Lazarus picked up my "preferred fcl-web" directory, and fcl-web [from trunk] is independent enough that it doesn't require any other units from FPC Trunk. So it works perfectly with the FPC 2.6.2 compiler. [NOTE: I use fcl-web only from direct source code, I don't use the streaming or visual design support that Lazarus offers] I just thought I would share this with others. Sometimes you can use FPC Trunk packages with an earlier FPC release. Regards, Graeme

Wow, thanks for share it! (y)

I tried it too, but:

C:\lazarus\fpc\2.7.1\source\packages\fcl-web\src\base\fphttpserver.pp(138,114) Error: Identifier not found "TAcceptErrorAction"

Silvio Clécio My public projects - github.com/silvioprog
Michael Van Canneyt
to silvioprog
silvioprog wrote 35 lines
2013/9/25 Graeme Geldenhuys Hi, I've been in a private conversation with Michael van Canneyt about fcl-web changes. He was kind enough to oblige with my requests. In due time those changes should make their way into 2.6.3. Due to the fact that I work with production software, I tend to stick with released FPC versions only [stability reasons], for most of my commercial projects. I really wanted the latest fcl-web changes though, so I took a chance and got the latest fcl-web code from Trunk. Added it to my project, added the new unit search path, and tried to compile my project. It worked! FPC and Lazarus picked up my "preferred fcl-web" directory, and fcl-web [from trunk] is independent enough that it doesn't require any other units from FPC Trunk. So it works perfectly with the FPC 2.6.2 compiler. [NOTE: I use fcl-web only from direct source code, I don't use the streaming or visual design support that Lazarus offers] I just thought I would share this with others. Sometimes you can use FPC Trunk packages with an earlier FPC release. Regards,   Graeme Wow, thanks for share it! (y) I tried it too, but: C:\lazarus\fpc\2.7.1\source\packages\fcl-web\src\base\fphttpserver.pp(138,114) Error: Identifier not found "TAcceptErrorAction"

You must update ssockets.pp as well in packages\fcl-net\src

Michael.

Graeme Geldenhuys
to silvioprog: 2013/9/25 Graeme Geldenhuys Wow, thanks for share it! (y) I tried it too, but:…
silvioprog wrote
C:\lazarus\fpc\2.7.1\source\packages\fcl-web\src\base\fphttpserver.pp(138,114) Error: Identifier not found "TAcceptErrorAction"

Ah yes, if you want to use the HTTP Server component, then you need to update some parts from fcl-net I believe. In my original message, I was actually only referring to fcl-web for client side programming.

Regards,
Graeme