Recent

Author Topic: using delphi to accomplish php curl  (Read 7283 times)

SgtPooki

  • Newbie
  • Posts: 3
using delphi to accomplish php curl
« on: December 16, 2011, 01:49:44 am »
Hi,

Ultimately, I'm trying to submit a PHP like curl request to a secure server, and I found an example using winsock (http://www.coderprofile.com/networks/source-codes/142/delphi-clientserver-winsock-example)

but I cannot run it, because I get the same errors as mentioned below. When I try to install jdbgridutils - which was a fix for a similar error found in this thread http://lazarus.freepascal.org/index.php?topic=14986.0 - I get the same errors.

Errors are below:


C:\Documents and Settings\*******\Desktop\jujiboutils\src\jdbgridutils.pas(41,47) Hint: Parameter "key" not used
C:\Documents and Settings\*******\Desktop\jujiboutils\src\jdbgridutils.pas(42,57) Hint: Parameter "Shift" not used
C:\Documents and Settings\*******\Desktop\jujiboutils\src\jdbgridutils.pas(246,14) Error: identifier idents no member "OnEditingDone"
C:\Documents and Settings\*******\Desktop\jujiboutils\src\jdbgridutils.pas(414,14) Error: identifier idents no member "OnEditingDone"
C:\Documents and Settings\*******\Desktop\jujiboutils\src\jdbgridutils.pas(588,14) Error: identifier idents no member "OnEditingDone"
C:\Documents and Settings\*******\Desktop\jujiboutils\src\jdbgridutils.pas(764,14) Error: identifier idents no member "OnEditingDone"
C:\Documents and Settings\*******\Desktop\jujiboutils\src\jdbgridutils.pas(919,14) Error: identifier idents no member "OnEditingDone"
C:\Documents and Settings\*******\Desktop\jujiboutils\src\jdbgridutils.pas(1044,14) Error: identifier idents no member "OnEditingDone"
C:\Documents and Settings\*******\Desktop\jujiboutils\src\jdbgridutils.pas(1072) Fatal: There were 6 errors compiling module, stopping

jujibo

  • Full Member
  • ***
  • Posts: 118
Re: using delphi to accomplish php curl
« Reply #1 on: December 16, 2011, 12:31:27 pm »
Hi.

Take a look at:
http://wiki.lazarus.freepascal.org/jujiboutils

Jujiboutils needs either Lazarus 0.9.31 (revision >=32452) or Lazarus 0.9.30.2RC2 or higher.

Cheers

SgtPooki

  • Newbie
  • Posts: 3
Re: using delphi to accomplish php curl
« Reply #2 on: December 16, 2011, 05:15:55 pm »

I saw this previously but wasn't sure how to get one of those versions.

I am now downloading 9.30.2RC2 and will update if I have any further trouble.


Thanks Jujibo =)

SgtPooki

  • Newbie
  • Posts: 3
Re: using delphi to accomplish php curl
« Reply #3 on: December 16, 2011, 06:02:37 pm »
I installed 2RC2 (without uninstalling previous version) and then tried to install the utils and got a few errors..

uninstalled lazarus, reinstalled, ran jujiboutils lazarus package file, worked without a hitch.

thanks =D

 

TinyPortal © 2005-2018