This code is so interesting. It's the code I need. But I think the code should change a little by replacing
This will avoid some error when someone open a large file (certain hundred of MB) two times.
when I finished building the project(demo)
and executed indebug level.
I tried to import a file of speech (*.wav)
before it comes out anything, it appears
" stack arround variable a was corrupted "
at the function:
void CWaveViewCtrl::DrawTimeRuler(CPaintDC* PaintDC)
in line 299 ....
Can you help me about this?
I'm grateful for your providing a good example for us.
I want to know how to write back the wave file to the harddisk after changing some samples of it.Would you please
tell me how to realize it?