CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 1999
    Posts
    1

    Background dialup

    Hi, I'll have to create program which dials to ISP (using Dialup connections). Gets some files with ftp. Then it closes the connection.
    This All would have to happen background once per hour or something like that.
    Can this be do with MCF? how?

    I already found some source code for starting and closing the dialup connection, but how about that background thing..


    Simo Tuokko


  2. #2
    Guest

    Re: Background dialup

    Yes, you can do it with MFC.
    Just don't show the application window if you have one.

    You may make your app SDI and in InitInstance() call
    m_pMainWnd->ShowWindow( SW_HIDE );

    Don't forget to set up a timer in the main frame window to get execution control from time to time and to check if it is time to do your task or to close the application.



  3. #3
    Guest

    Re: Background dialup

    Advice: put all you've gotta do in a thread


Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured