so i'm designing my first C++ program, basically its in two parts.
one part is using filewatcher and if a file of a particular name is created in a directory its FTP'd.
the other part is a form that i created to create a notification icon so you know the program is running. so in my main function i have this:
int main() {
Application::Run( gcnew Form1 );
Watcher::run();
}
so basically what is happening, is whatever is first in line will run, and when that exits the next one starts. i need them to run at the same time.
how would i do this?
thanks