|
-
April 23rd, 1999, 01:11 AM
#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
-
April 24th, 1999, 10:22 AM
#2
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.
-
April 25th, 1999, 09:02 AM
#3
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|