Question Graphics freezing

stulish

Well-known member
Joined
Jun 6, 2013
Messages
61
Programming Experience
3-5
Hi guys,

I have created a program for recording data from different sensors (data, video capture @ 1 frame every 15 seconds and audio from up to 10 mics), this then gets compressed to a local hard drive directory and a copy of the compressed file is sent to a network drive for back up.

I tested the software with a hard drive partition rather than a network drive and everything seemed fine, now it is actually connected to the network the graphics on screen pause while it is copying the files across (the graphics are sound level bars and such), if you click the mouse during this time windows reports that the program is not responding, but if you leave it then it all continues working.

Is there a way to send files to the network drive without holding up the rest of the processing (for graphics and such).

Many thanks

Stu
 
Multithreading, anything that takes some time (or could do so) should not be performed in event handler, but done in a secondary thread.
 
Back
Top