Originally posted by: TRUNG LE
Hi Mohammed,
Thanks for your demo project and source code. Your program run well but I'm having a problem when I add your control to my project. I have added your control to my project successfully (I guessed that becase after openning a wave file, my view draws sound signal completely), but when I click on my toolbar button to play, there is only a beep sound insteads of the sound of wave file. I tried to find error and discover that the CoGetClassObject function doesn't return NOERROR values. When debuging, I compare all values of your project to my project's values before calling this funtion and found out that all of them are the same. But infact, your program works while my program doesn't :-(.
So, could you please tell me why my program has this error and how to solve this.
Thank you very much.
Trung
Originally posted by: keith hatfield
error C2065: 'DSBCAPS_CTRLDEFAULT' : undeclared identifier
Any ideas?
ReplyOriginally posted by: srinivas
I want to know how to edit the wave file i.e implementing
Cut/Copy/Paste for the given wave file from existing code.
Thanks
srinivas
Originally posted by: Edwin Zhang
As title
ReplyOriginally posted by: JTAnderson
This example is GREAT. Very close to what I was looking for.
Quick question though, What about a horizontal scroll bar? Drawing only aportion of the entire Wnd would be very useful.
Any suggestions??
Originally posted by: shitos_mitos
i want to know min el3abkari ele entah te3rafoh ele esmoh shitos ele mashareksh wala mosharkah fel mashro3 dah dah fe3lan 3abkari bain shogholh 10 3ala 10 salemli 3alih ketir
shitos_fola
Originally posted by: steph
Hi Mohammed !
Great thanks for your programm. Nevertheless I've encountered some problems when I've tried to adapt your code as an MDI project. As a matter of fact, in the function command ,after having opened a wave file and trying to play it, the IClassFactory pointer called "pclsf" has no data unlike your SDI project.As a result, there's a "Beep" and nothing else.
So, Could you give more info about the CoGetClassObject function using the IClassFactory object or just something to know why it doesn't work.
thanks in advance ,
Regards.
Steph
Reply
Originally posted by: Dor�
Hello Mohamed,
I thank you for your code but i have some problems to generate an executable with the suplied demo project.
First i had an error while compiling CWaveViewCtrl.CPP file (the stdafx.h file is not found). So i put it in CWaveViewCtrl.CPP dirctory.
Then i had a link error (error LNK2001: unresolved external symbol __endthreadex, error LNK2001: unresolved external symbol __beginthreadex).
Could you help me please, thank you.
Reply