Re: a bug with atldlgs.h?undeclared identifier IID_IShellLink when I use<initguid.h>

"Jim Barry" <[email protected]>
Newsgroups gmane.comp.windows.wtl
Message-ID <4B787AC3992B4EBBAAF9B5A0DB253758@jbarry>
"xfpl" wrote:
> my project is OK before I #include < Initguid.h> in "stdafx.h",
> after I include initguid.h, I got the following compiler error:
[...]

You are only supposed to include Initguid.h in a single source file, so you 
mustn't include it in the project header. There is no proper documentation, 
but see the section "How does the DEFINE_GUID macro work?" at the bottom of 
the DirectShow FAQ:

http://msdn.microsoft.com/en-us/library/dd375463(VS.85).aspx

- Jim 



------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/wtl/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/wtl/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[email protected] 
    mailto:[email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.