´ñ±Û : 2 °³
Çѱ¹ µ¨ÆÄÀÌ µ¿È£È¸ µ¨¸¶´ç
ÈÄ·¹ÀÌÅ©¾çÆÄ
(À¯Á¾È­)
 
°³ÀÎÀûÀΠÁú¹®ÀÔ´Ï´Ù¸¸.. ¹èÆ÷µÇ´Â ¹ÙÀ̳ʸ®¸¦ »ç¿ëÇϴ °ÍÀÌ ¾Æ´Ï¶ó....º°µµ·Î vnc viewer ¸¦ µû·Î ºôµåÇϽŠÀÌÀ¯°¡ ÀÖÀ¸½Å°¡¿ä? ¾÷¹«»ó ºñ¹ÐÀ̸é pass ÀÔ´Ï´Ù.. :D 
2015-01-06 ¿ÀÈÄ 6:34:41
³¯¾Æ¶ó³¯¾Æ
(°í±¤¹Î)
 
À§ ¼Ò½º´Â ´ÙÀ½°ú °°ÀÌ ÇؾßÁö XE5¿¡¼­ Àß ÀÛµ¿ÇÕ´Ï´Ù.
Á¦ pc¿¡¼­ Å×½ºÆ® ¿Ï·á Çß½À´Ï´Ù.

procedure TfrmMain.updateScreen( pImgBuffer : Pointer ; size : Integer);
  var pSrc, pDst : PByte;
      h, lineLen : Integer;
      Bitmap : Tbitmap;
      TempRect : Trect;
begin
  Bitmap := Tbitmap.Create;
  Bitmap.Width := mpRemoteInfo.width;
  Bitmap.Height := mpRemoteInfo.height;
  case mpRemoteInfo.bitsPerPixel of
   32 : Bitmap.PixelFormat :=  pf32bit;
   24 : Bitmap.PixelFormat :=  pf24bit;
  end;

  pSrc := pImgBuffer;

  lineLen := mpRemoteInfo.width * PIXEL_SIZE;
  for h := 0 to mpRemoteInfo.height - 1 do
  begin
    pDst := Bitmap.ScanLine[h];
    CopyMemory( pDst, pSrc, lineLen);
    Inc(pSrc,lineLen);
  end;
  TempRect := Rect(0,0,mpRemoteInfo.width,mpRemoteInfo.height);
  ImageRemote.Canvas.CopyRect(TempRect,Bitmap.Canvas,TempRect);
  Bitmap.Free;
  ImageRemote.Invalidate();
end; 
2015-11-11 ¿ÀÀü 10:21:52