z_o_o_m

Show:

What's happening?

  • Followup: RE: Max speed

    sorry that I didn't add all the info :) ocurlcll.inc procedure tMultiPartFormData.Add( .... the "showfilename" is missing there ... I add it and it works now :)

    2009-07-11 19:59:55 UTC in CurlPas and TidyPas

  • Followup: RE: Max speed

    ok, I would never ever find it if my friend didn't know debugging :D the bug is here Result = AddFormDataf(&form, &size,"; filename=\"%s\"",(post->showfilename?post->showfilename:filebasename)); the %s wasn't set in the binding ;) if anone would like to know, this is the answer :D.

    2009-07-11 18:10:53 UTC in CurlPas and TidyPas

  • Followup: RE: Max speed

    I thought it will be ok, but isn't. I use this: var MyCurl:TCurl; begin MyCurl:=tCurl.Create(nil); MyCurl.Verbose:=True; MyCurl.InputStream:=nil; MyCurl.URL:='http://localhost/test.php'; MyCurl.FormData.Add('test','xxxxxxx','',POST_TYPE_PLAIN ); MyCurl.FormData.Add('file','test.rar','application/octet-stream',POST_TYPE_ATTACHMENT); MyCurl.Perform; MyCurl.Free;...

    2009-07-11 11:17:44 UTC in CurlPas and TidyPas

  • Followup: RE: Max speed

    You don't have to be sorry, you're the man ... I would like to understand it as much as you :) After a hour I found out that if I assign a stream to inputstream, the error disappears and I can send the file :) I think I should move to C too. But my heart doesn't want to abandon Delphi :D If I finish the program successfully, I won't forget to appreciate your help. Thanks! I hope I...

    2009-07-10 21:13:44 UTC in CurlPas and TidyPas

  • Followup: RE: Max speed

    Both, Delphi and Lazarus, show this error "Access violation ... msvcrt.dll ". But only when using this object demo http://curlpas.sourceforge.net/curlpas/demo/testmpf2.pas.html It works with the "easy" demo http://curlpas.sourceforge.net/curlpas/demo/testmpf1.pas.html The problem is probably in some read function in the binding on windows platform. I have just...

    2009-07-10 08:32:01 UTC in CurlPas and TidyPas

  • Followup: RE: Max speed

    no, Lazarus the same :) it just "skips" somehow :D.

    2009-07-09 21:56:48 UTC in CurlPas and TidyPas

  • Followup: RE: Max speed

    Lazarus doesn't rise this error ... but I don't like it, Delphi is much better :D thanks for helping and informing me, I have to figure it out.

    2009-07-09 21:32:57 UTC in CurlPas and TidyPas

  • Followup: RE: Max speed

    I will try it in FPC/Lazarus, we'll see ;) And I found another problem, I cant run this multipart post demo http://curlpas.sourceforge.net/curlpas/demo/testmpf2.pas.html using "POST_TYPE_ATTACHMENT " rises error Access violation ... msvcrt.dll .... :( Delphi seems buggy ? :D.

    2009-07-08 22:03:35 UTC in CurlPas and TidyPas

  • Followup: RE: Max speed

    I am sorry, but you are not right :( I tested both situations and with no effect ... there is some problem with the varargs ... the easiest way is to make functions with no varargas and it really works ... I found out when looking at OP-Curl (binding for Delphi) function curl_easy_set_integer(handle:LongInt; option:integer; value:LongInt):TCurlCode;stdcall; cdecl; external LIB_CURL name...

    2009-07-06 21:08:59 UTC in CurlPas and TidyPas

  • Followup: RE: Max speed

    Hi, no problem ... I had to "repair" some code and it works in CurlPas now! Really thanks for this binding. It works still great. Instead of classic curl_easy_setopt, I made a new one without varargs and now I pass requested type directly ... I don't know why, but it didn't work with varargs. Thanks.

    2009-07-06 06:50:25 UTC in CurlPas and TidyPas

About Me

  • 2008-01-22 (2 years ago)
  • 1988436
  • z_o_o_m (My Site)
  • z_o_o_m

Send me a message