We have an old-fashioned MDI software that is written in MFC and Visual C++ 6.0. The development can be done remotely on our computer if you don't have access to Visual C++ 6.0.
Now a polling thread is to be added.
DS1972 - an EEPROM connected via 1-wire. In a previous project we implemented code for writing data to a 1-wire device. From this existing code we think it should be possible to find if it is disconnected or a new one is connected.
Procedure to be implemented - Polling
1. If a new DS1972 is connected, prompt the user with a field for inputting text (serial number). The prompt is a dialog box with an input field that is exited when Enter is pushed or an OK button is clicked. Alternatively, if using a bar code reader the dialog box is to be automatically closed (I think the bar code reader ends with Enter or similar so this should not be a problem)
If the user typed a wrong serial number, then the user needs to remove the DS1972 and insert it again to open the prompt again.
2. If there is no change in the status of the DS1972, do nothing.
3. If the existing DS1972 is disconnected, clear the text (serial number).
4. Add a flag that makes it possible to exit this polling thread if the software is doing an operation where the polling thread should not be active.
5. When starting the software, run point 1 above.
4 freelancers are bidding on average $215 for this job
I am a C++ Expert having more than 8 yrs of software programming experience. Recently I had worked on an conversion project (VC++ 6.0 to VS 2008). I had started my career with VS 6.0.