What's wrong with this code
2006-05-01 23:19
204 查看
1 [
2 object,
3 uuid(8BE3DB1A-1DB0-4529-B295-31EED6E3ABD9),
4 dual,
5 nonextensible,
6 helpstring("IIPCService Interface"),
7 pointer_default(unique)
8 ]
9 interface IIPCService : IDispatch{
10
11 [id(0), helpstring("method SetServiceVerb")]
12 HRESULT SetServiceVerb([in] DWORD dwServiceHandle , [in] BSTR bstrVerbName, [in] BYTE* pVerbValue,
13 [in] DWORD dwVerbSize);
14 };
15
这是一个IDL文件的一部分。在具体实现中,用时调用SetServiceVerb会导致非预期结果。这个bug就在这个IDL文件中。
明天公布答案。
2 object,
3 uuid(8BE3DB1A-1DB0-4529-B295-31EED6E3ABD9),
4 dual,
5 nonextensible,
6 helpstring("IIPCService Interface"),
7 pointer_default(unique)
8 ]
9 interface IIPCService : IDispatch{
10
11 [id(0), helpstring("method SetServiceVerb")]
12 HRESULT SetServiceVerb([in] DWORD dwServiceHandle , [in] BSTR bstrVerbName, [in] BYTE* pVerbValue,
13 [in] DWORD dwVerbSize);
14 };
15
这是一个IDL文件的一部分。在具体实现中,用时调用SetServiceVerb会导致非预期结果。这个bug就在这个IDL文件中。
明天公布答案。
相关文章推荐
- What's wrong with the following code?
- Android Studio 中 FAILURE: Build failed with an exception. * What went wrong: Execution failed for ta
- Managed(托管), Unmanaged(非托管), Native: What Kind of Code Is This?
- What's wrong with the string class defined by the draft standard?
- Android Studio 中 FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':compileDebugAidl'.的问题解答
- 混淆bug:* What went wrong: Execution failed for task ':app:transformClassesAndResourcesWithProguardFor
- Container exited with a non-zero exit code 1 .Failing this attempt.. Failing the application.
- 转:Code-blocks are not allowed in this file: Using Server-Side Code with SharePoint
- The Breakpoint will not currently be hit. No executable code associated with this line
- What's wrong with arrays?
- What’s the problems with the following code
- Node.js Setup:This may indicate a problem with this package. The error code is 2503.
- What's wrong with me?
- The Breakpoint will not currently be hit. No executable code associated with this line
- What Can I Do With This Major?
- “What's wrong with Object-Oriented Programming and Functional Programming”
- What's wrong with arrays?
- [转]Managed, Unmanaged, Native: What Kind of Code Is This?
- If 1=2. What is this code about? MESSAGE where used list
- [转]Managed, Unmanaged, Native: What Kind of Code Is This?