(First, sorry for bad English ! )
I downloaded the source code here : http://minimizetotray.googlecode.com/files/SourceCode.zip - which is a NPAPI plugin that has the ability to minimize Chrome windows to system tray.
Using Visual Studio 9.0, I opened the file chromeTray.vcproj (located in DLL dir of SourceCode.zip ), tried compiling the project to get a dll but I got alot of error messages !
Opening chromeTray.vcproj using Notepad, I found that it has some references to XULRunner SDK but i dont know how to use that SDK with Visual Studio and I not sure if I need anything else to get it work.
Anyone can take a look and tell me what I need to get this sourceC开发者_运维百科ode work ( creating the dll )? Thanks in advance!
I'm not familiar with that project, but from the list of your errors, it looks like you're missing an inclusion of atlbase.h
. Given atlbase.h
is indeed included in the project's stdafx.h
, there seems to be some compilation unit that doesn't include stdafx.h
first.
Try having the compiler show the list of includes during compilation (Project settings -> C/C++ -> Advanced -> Show Includes in my VC8), and see who's including ATL headers before atlbase.h
.
精彩评论