#include<windows.h>
#include"wmsdk.h"
There was an error message.
Error Message :
c:\program files\microsoft visual studio\vc98\include\rpcndr.h(58) : fatal
error C1189: #error : incorrect <rpcndr.h> version. Use the header that
matches with the MIDL compiler.
MciWaveDlg.CPP
When I posted this message a few days ago, "Gray Zhou [MS]" let me know that
my version of "rpcndr.h" file is old.
(Thank you Gray Zhou :-) )
So, I installed "Microsoft Platform SDK October 2002".
However, there are still same error messages.
I searched for the file "rpcndr.h" and found two files.
One is from VC++ include folder and another is from Platform SDK folder.
So, I added library and header file folder to the VC++ project settings
(Directory tap).
And renamed "rpcndr.h" from the VC++ include folder.
Then, it displayes 81 error messages one of them is
"c:\program files\microsoft sdk\include\rpcndr.h(602) : error C2501:
'ULONG_PTR' : missing storage-class or type specifiers"
Sample projects are executed all right. And I did every project settings and
installed VS Service Pack 5 also.
What can I do for it? And what is wrong?
1. Windows Media SDK include directory
2. Platform SDK include directory
3. Others
Hope this helps.
Regards,
Xin
This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. (c) 2003 Microsoft Corporation. All
rights reserved.
Whould you please let me know what difference is made by the order?