To write list control records into text file use structure you can write and read entire row of list control. it will be better to seek the file pointer while reading and writing
unsure if this may be a solution for you, but worth a look :) WINXP-SP3 - The specified program requires a newer version of Windows.[^] Looks like the root of the error is to do with how/when GetLastError. Hope this helps.
The code you wrote above must be written in class void CDataDialog::OnBnClickedOk() ?Cause I have declare this class in a different dialog. I'm sorry for asking again, I got a little bit confused.
lolici wrote:
I could also upload the project or the executable if it is possible.
Please, read the rules about asking the question here to know whether it is possible.
Alvi ZaDa wrote:
i hv problem in using basic rules of dev c
Asking questions is a skill[^] Some guidelines for posting questions in the forums[^]
Patrice “Everything should be made as simple as possible, but no simpler.” Albert Einstein
lolici wrote:
...I am looking for a way to save all editable data in list view in a text file.
What does that have to do with not using MFC?
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles
yagokhan wrote:
he sensor is sensonor stim300
A quick Google search for "stim300 crc" found this: drivers-imu_stim300/src at master · rock-drivers/drivers-imu_stim300 · GitHub[^]. There see the verifyChecksum function at drivers-imu_stim300/Stim300RevD.cpp at master · rock-drivers/drivers-imu_stim300 · GitHub[^]. It uses the Boost CRC Library - 1.63.0[^] which is just a header file implementing the CRC calculations.
Please, see my reply to the same question in CG forum: [Handle WM_LBUTTONDBLCLK on CMainFrame](http://forums.codeguru.com/showthread.php?558843-Handle-WM\_LBUTTONDBLCLK-on-CMainFrame&p=2211363#post2211363)