-
November 1st, 2010, 09:08 AM
#1
Compiler complains about shobjidl.h
hello guys... im writing small application for TAPI. But this error... I dont know, how I am getting this error. Compiler is complaining that
----- ICommDlgBrowser2: base class undefined
here is the code
Code:
EXTERN_C const IID IID_ICommDlgBrowser3;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("c8ad25a1-3294-41ee-8165-71174bd01c57")
ICommDlgBrowser3 : public ICommDlgBrowser2
{
public:
virtual HRESULT STDMETHODCALLTYPE OnColumnClicked(
/* [in] */ __RPC__in_opt IShellView *ppshv,
/* [in] */ int iColumn) = 0;
virtual HRESULT STDMETHODCALLTYPE GetCurrentFilter(
/* [size_is][string][out] */ __RPC__out_ecount_full_string(cchFileSpec) LPWSTR pszFileSpec,
/* [in] */ int cchFileSpec) = 0;
virtual HRESULT STDMETHODCALLTYPE OnPreViewCreated(
/* [in] */ __RPC__in_opt IShellView *ppshv) = 0;
};
#else /* C style interface */
.....................................
.....................................
-
November 2nd, 2010, 03:44 AM
#2
Re: Compiler complains about shobjidl.h
Is the header that defines "ICommDlgBrowser2" included ?
your humble savant
-
November 2nd, 2010, 06:42 AM
#3
Re: Compiler complains about shobjidl.h
Get this small utility to do basic syntax highlighting in vBulletin forums (like Codeguru) easily.
Supports C++ and VB out of the box, but can be configured for other languages.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|