+ Reply to Thread
Results 1 to 3 of 3

Thread: Error #53 Jpg

  1. #1
    Junior Member Icebergdelphi's Avatar
    Join Date
    Apr 2006
    Posts
    22

    Error #53 Jpg

    Hi Amigos anybody knows why i get this error : Error #53 jpg
    this is my code when i'm traying to recive the image for my reverse conexion Rat:

    procedure TFMain.MyServerClientRead(Sender: TObject;
    Socket: TCustomWinSocket);
    var
    Guardaren:String;
    MyJpg : Tjpegimage;
    memorystream: TMemoryStream;
    Buffer: Array[0..100000] of byte;
    begin
    try
    MemoryStream := TMemoryStream.Create;
    Memorystream.Write(Buffer,socket.ReceiveBuf(Buffer , sizeof(Buffer)));
    Memorystream.Seek(0,0);
    MyJpg := TJpegImage.Create
    MyJpg.LoadFromStream(MemoryStream);// Displays the error
    FrmArchivos.Image1.Picture.Assign( myJPG);
    finally
    Memorystream.free;
    MyJpg.free;
    end;
    end;
    Tanx Amigos
    IcebergDelphi

    LIA. Hiber Tadeo Moreno Tovilla
    INITEC Software

    Villaflores, Chiapas Mexico

  2. #2
    Senior Member Trilithium's Avatar
    Join Date
    Jun 2006
    Location
    Planet Earth
    Posts
    373
    maybe no/not enough data arrived
    I've got a very simple taste....Just the Best!


  3. #3
    Junior Member Icebergdelphi's Avatar
    Join Date
    Apr 2006
    Posts
    22

    Tanx i resolved the problem

    Tanx amigo i resolved da problem

    Tanx
    .
    IcebergDelphi

    LIA. Hiber Tadeo Moreno Tovilla
    INITEC Software

    Villaflores, Chiapas Mexico

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. error compile
    By codewar in forum Delphi Help
    Replies: 4
    Last Post: 21-05-2007, 00:56
  2. Weird Error.
    By deja vu in forum Delphi Help
    Replies: 5
    Last Post: 13-02-2007, 15:22
  3. Socket Error..
    By Need4Luck in forum Delphi Help
    Replies: 2
    Last Post: 20-12-2006, 17:29
  4. Error
    By Squidder in forum Visual Basic Help
    Replies: 2
    Last Post: 02-11-2006, 02:10
  5. error box
    By xsmithx in forum Delphi Help
    Replies: 10
    Last Post: 11-10-2005, 20:51

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 ©2011, Crawlability, Inc.