Q&A

  • Telnet 접속후 화일실행하는법..?
제목이 맞나 모르겠네요...?

제가 하구 싶은 작업은

1. PC에서 Unix에 접속한 후

2. unix에서 화일을 실행해서

source라는 화일의 format을 바꿔 target화일을 생성하구

3. 생성된 target화일을 PC로 복사한 후

4. log out 하는

일련의 동작을 프로그래밍 하구 싶습니다.

복사야 ftp를 써서 했는데

이건 자동으로 로그인 하는법, 화일 실행하는법 등도 알아야 되겠더군요..



갈켜주실꺼지요...

정말로 감사합니다.

2  COMMENTS
  • Profile
    강두헌 1999.04.28 06:57
    Window Message중에 WM_DDE_ACK란게 있는 모양인데

    제가 가지고 있는 자료에는 없네요.



    혹시 아시는 분이 계시면 알려주세요.



    감사합니다.

  • Profile
    안치봉 1999.04.28 07:54
    강두헌 wrote:

    > Window Message중에 WM_DDE_ACK란게 있는 모양인데

    > 제가 가지고 있는 자료에는 없네요.

    >

    > 혹시 아시는 분이 계시면 알려주세요.

    >

    > 감사합니다.



    안녕하세요. 자료가 없다시니 원본을 그대로 올려드립니다.

    참고로 이 자료는 Win32 API 에서 가져온겁니다.



    The WM_DDE_ACK message notifies a DDE application of the receipt and processing of a WM_DDE_POKE, WM_DDE_EXECUTE, WM_DDE_DATA, WM_DDE_ADVISE, WM_DDE_UNADVISE, or WM_DDE_INITIATE message, and in some cases, of a WM_DDE_REQUEST message.



    WM_DDE_ACK

    // Response to WM_DDE_INITIATE

    wParam = (WPARAM) hwnd; // handle of posting application

    lParam = MAKELPARAM(aApp, aTopic) // application and topic atoms



    // Response to WM_DDE_EXECUTE

    wParam = (WPARAM) hwnd; // handle of posting application

    lParam = (LPARAM) lPackedVal; // packed status flags and data handle



    // Response to all other messages

    wParam = (WPARAM) hwnd; // handle of posting application

    lParam = (LPARAM) lPackedVal; // packed status flags and item







    Parameters



    When responding to WM_DDE_INITIATE:

    hwnd



    Value of wParam. Identifies the server window posting the message.



    aApp



    Value of the low-order word of lParam. Contains an atom that identifies the replying application.



    aTopic



    Value of the high-order word of lParam. Contains an atom that identifies the topic for which a conversation is being established.



    When responding to WM_DDE_EXECUTE:

    hwnd



    Value of wParam. Identifies the server window posting the message.



    lPackedVal



    Value of lParam. The component parameters that are packed into lPackedVal are extracted by calling the UnpackDDElParam function. The low-order word is wStatus. The high-order word is the same hCommands that was received in the WM_DDE_EXECUTE message.



    Parameter Description

    wStatus Specifies a DDEACK structure containing a series of flags that indicate the status of the response.

    hCommands Identifies a global memory object that contains the command string.





    When replying to all other messages:

    hwnd



    Value of wParam. Identifies the client or server window posting the message.



    lPackedVal



    Value of lParam. The component parameters that are packed into lPackedVal are extracted by calling the UnpackDDElParam function. The low-order word is wStatus. The high-order word is aItem.



    Parameter Description

    wStatus Specifies a DDEACK structure containing a series of flags that indicate the status of the response.

    aItem Contains a global atom that identifies the name of the data item for which the response is sent.





    Remarks



    Posting



    Except in response to the WM_DDE_INITIATE message, the application posts the WM_DDE_ACK message by calling the PostMessage function, not by calling the SendMessage function. When responding to WM_DDE_INITIATE, the application sends the WM_DDE_ACK message by calling SendMessage. In this case, neither the application-name atom nor the topic-name atom should be NULL (even if the WM_DDE_INITIATE message specified NULL atoms).



    When acknowledging any message with an accompanying aItem atom, the application posting WM_DDE_ACK can either reuse the aItem atom that accompanied the original message, or it can delete it and create a new one.

    When acknowledging WM_DDE_EXECUTE, the application that posts WM_DDE_ACK should reuse the global memory object identified in the original WM_DDE_EXECUTE message.

    All posted WM_DDE_ACK messages must create or reuse the lPackedVal parameter by calling the PackDDElParam function or the ReuseDDElParam function.



    If an application has initiated the termination of a conversation by posting WM_DDE_TERMINATE and is awaiting confirmation, the waiting application should not acknowledge (positively or negatively) any subsequent messages sent by the other application. The waiting application should delete any atoms or shared memory objects received in these intervening messages. Memory objects should not be freed if the fRelease flag is set to FALSE in WM_DDE_POKE, and WM_DDE_DATA messages.



    Receiving



    The application that receives a WM_DDE_ACK message should delete all atoms accompanying the message. If the application receives a WM_DDE_ACK in response to a message with an accompanying hData object, and the object was sent with the fRelease flags set to FALSE, the application is responsible for deleteing the hData object.

    If the application receives a negative WM_DDE_ACK message posted in reply to a WM_DDE_ADVISE message, the application should delete the global memory object posted with the original WM_DDE_ADVISE message (in hOptions). If the application receives a negative WM_DDE_ACK message posted in reply to a WM_DDE_DATA, WM_DDE_POKE, or WM_DDE_EXECUTE message, the application should delete the global memory object posted with the original WM_DDE_DATA, WM_DDE_POKE, or WM_DDE_EXECUTE message (in hCommands).



    The application that receives a posted WM_DDE_ACK message must free the lPackedVal parameter by using the FreeDDElParam function.



    See Also



    DDEACK, FreeDDElParam, PackDDElParam, PostMessage, ReuseDDElParam, SendMessage, UnpackDDElParam, WM_DDE_ADVISE, WM_DDE_DATA, WM_DDE_EXECUTE, WM_DDE_INITIATE, WM_DDE_POKE, WM_DDE_REQUEST, WM_DDE_TERMINATE, WM_DDE_UNADVISE





    • sunhee
    • 1999.07.09 19:44
    • 0 COMMENTS
    • /
    • 0 LIKES
    • 이호선
    • 1999.04.28 09:40
    • 1 COMMENTS
    • /
    • 0 LIKES
    • 신인재
      1999.04.28 20:12
      이호선 wrote: > 안녕하세요. > 일반 Control들의 Drag&Drop은 어떻게 해야 하는지 궁금합니다. > 예를...
    • chbang
    • 1999.07.09 18:51
    • 1 COMMENTS
    • /
    • 0 LIKES
    • 이정욱
      1999.07.09 21:49
      모든 객체의 KeyPress를 만들어서 처리하려면 조금 짜증이 나죠. 이럴때 메인폼에서 한번에 처리하는 방법...
    • 이호선
    • 1999.04.28 09:04
    • 1 COMMENTS
    • /
    • 0 LIKES
    • 김영대
      1999.04.28 21:33
      이호선 wrote: > 안녕하세요. > 한 폼에서 프린트가 끝난상태를 알고 폼을 닫을려 합니다. > 프린트가 ...
    • 솔잎
    • 1999.07.09 18:36
    • 1 COMMENTS
    • /
    • 0 LIKES
    • 이정욱
      1999.07.09 21:46
      엑세스 바이올레이션은 아직 생성되지 않았거나 이미 날라가 버린 객체를 제어하려고 할때 나는 에러입니다...
    • 이영일
    • 1999.07.09 18:31
    • 2 COMMENTS
    • /
    • 0 LIKES
    • 강두헌
      1999.04.28 06:57
      Window Message중에 WM_DDE_ACK란게 있는 모양인데 제가 가지고 있는 자료에는 없네요. 혹시 아시는 분...
    • 안치봉
      1999.04.28 07:54
      강두헌 wrote: > Window Message중에 WM_DDE_ACK란게 있는 모양인데 > 제가 가지고 있는 자료에는 없네요...
    • 강두헌
    • 1999.04.28 06:57
    • 2 COMMENTS
    • /
    • 0 LIKES
    • 신현숙
      1999.07.09 18:18
      델파이 컴파일시..아래와 같은 에러가 난답니다. 물론, 델파이를 껐다가 다시 켜면 되기는 하지만,,, 힝...
    • 안치봉
      1999.04.28 07:54
      강두헌 wrote: > Window Message중에 WM_DDE_ACK란게 있는 모양인데 > 제가 가지고 있는 자료에는 없네요...
    • 한승현
    • 1999.04.28 00:53
    • 3 COMMENTS
    • /
    • 0 LIKES
    • 김범환
      1999.07.09 10:06
      안녕하세요. Edit 컴포넌트의 OEMConvert속성이 뭐하는 것인지 궁금해요??? 답변 기다리겠습니다. ...
    • 이정욱
      1999.04.28 05:49
      델4에서 되게 고쳐서 올렸습니다. 데이타 형을 Integer에서 Cardinal형으로 바꾸기만 했습니다. 한승...
    • 구창민
      1999.07.09 20:37
      김범환 께서 말씀하시기를... > 안녕하세요. > > Edit 컴포넌트의 OEMConvert속성이 뭐하는 것인지 궁...
    • 윤종구
    • 1999.07.09 08:05
    • 3 COMMENTS
    • /
    • 0 LIKES
    • 김근영
      1999.04.28 03:58
      저는 지금 interbase를 이용하여 db프로그램을 만들고 있습니다. 그런데..다름아닌..interbase에서 지원하...
    • 이정욱
      1999.07.09 11:29
      폼명을 변수로 해서 생성 후 캡션을 가져오시려고 하는것이면 이렇게 하세요. 만약 GoodForm이라는 폼(폼...
    • 신인재
      1999.04.28 05:35
      아래는 델코의 하영재님의 글을 갈무리 한것입니다. 참고하세요.... Blob 필드에서 불러오기 3가지 ...
    • 신호철
      1999.04.28 02:59
      안녕하세요, 전에 이정욱님에게 답하신 텍스트파일 dbase(혹은 패러독스) 파일 건에서 잘 이해가 않갑니다...
    • 구창민
      1999.07.09 08:50
      전진우 께서 말씀하시기를... > 임시로 사용한 테이블을 다시 NULL Table(?, 아무 데이터도 없는)로 > ...
    • 신인재
      1999.04.28 05:23
      신호철 wrote: > 안녕하세요, 전에 이정욱님에게 답하신 텍스트파일 dbase(혹은 패러독스) 에구 이정욱...
    • 김재용
      1999.07.09 08:17
      그 방법보다는 코드로 테이블을 생성하는것은 어떨까요? 그 데이타화일을 지우고 그곳에 새로운 테이블을 ...
    • 김태성
    • 1999.07.09 05:43
    • 3 COMMENTS
    • /
    • 0 LIKES
    • 김근영
      1999.04.28 03:58
      저는 지금 interbase를 이용하여 db프로그램을 만들고 있습니다. 그런데..다름아닌..interbase에서 지원하...
    • 구창민
      1999.07.09 08:58
      김태성 께서 말씀하시기를... > SQL 로 검색하니까 > > 다음과같은 에러가뜹니다. > > Project ccm....
    • 신인재
      1999.04.28 05:35
      아래는 델코의 하영재님의 글을 갈무리 한것입니다. 참고하세요.... Blob 필드에서 불러오기 3가지 ...
    • 남윤혁
    • 1999.07.09 05:17
    • 3 COMMENTS
    • /
    • 0 LIKES
    • 신호철
      1999.04.28 02:59
      안녕하세요, 전에 이정욱님에게 답하신 텍스트파일 dbase(혹은 패러독스) 파일 건에서 잘 이해가 않갑니다...
    • 이정욱
      1999.07.09 05:26
      델파이의 도움말을 보면 이런말이 있습니다. 일단 근본적으로는 같은 기능입니다. 하지만 Destroy에...
    • 신인재
      1999.04.28 05:23
      신호철 wrote: > 안녕하세요, 전에 이정욱님에게 답하신 텍스트파일 dbase(혹은 패러독스) 에구 이정욱...
    • sinmoru
    • 1999.04.28 01:19
    • 2 COMMENTS
    • /
    • 0 LIKES
    • 이용훈
      1999.07.09 04:45
      그리드에는 하나의 셀만을 선택할수 있더군요.. 그렇다면.. 셀을 선택했을때 그 셀에 해당하는 라인 전체...
    • 조복기
      1999.07.09 05:12
      이용훈 께서 말씀하시기를... > 그리드에는 하나의 셀만을 선택할수 있더군요.. > 그렇다면.. 셀을 선택...
    • 얼라
    • 1999.07.09 04:26
    • 0 COMMENTS
    • /
    • 0 LIKES
    • 한승현
    • 1999.04.28 00:53
    • 1 COMMENTS
    • /
    • 0 LIKES
    • 이정욱
      1999.04.28 05:49
      델4에서 되게 고쳐서 올렸습니다. 데이타 형을 Integer에서 Cardinal형으로 바꾸기만 했습니다. 한승...
    • 이의준
    • 1999.07.09 01:38
    • 2 COMMENTS
    • /
    • 0 LIKES
    • 최선미
      1999.04.27 22:46
      안녕하세요 델파이 4.0에서 퀵레포트를 사용하고있습니다. 그룹해더를 사용하는데 타이틀이나 컬럼해더...
    • mephy
      1999.04.27 23:36
      최선미 wrote: > 안녕하세요 > 델파이 4.0에서 퀵레포트를 사용하고있습니다. > 그룹해더를 사용하는데...