Posted on 2004-09-03
I have an application with imports text file to SQL Server, where the text files will be uploaded to a particular folder.(it may be empty without text file also).
Now, my application searches this folder and converts text file to SQL Server Rows if text file exists Or else it keeps searching the folder.
Iam maintaning a log file for errors, where i come to know what happened and when @ what time.
The problem is my application EXIT... I dont want my application to EXIT, it must run 24/7.
Please suggest some idea and a piece of code coz am little new to VC++, so that i can handle this.