473,322 Members | 1,562 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

Visual Studio 2002 Add-in - Build Done Event

6
Hi

I was wondering if anyone knows of a way to get the number of build errors and warnings once studio has posted an event and my add-in has caught it.

The class implementing the sink is:

Expand|Select|Wrap|Line Numbers
  1. class BuildEventsSink : public IDispEventImpl<1, BuildEventsSink, &__uuidof(EnvDTE::_dispBuildEvents), &EnvDTE::LIBID_EnvDTE, 7, 0>
  2. {
  3. public:
  4.     BEGIN_SINK_MAP(BuildEventsSink)
  5.         SINK_ENTRY_EX(1, __uuidof(EnvDTE::_dispBuildEvents), 4, OnBuildDone) // Build Done event id:4, Build start: 3
  6.     END_SINK_MAP()
  7.  
  8.     void __stdcall OnBuildDone(EnvDTE::vsBuildScope Scope, EnvDTE::vsBuildAction Action);
  9. };
  10.  
The build done event calls the OnBuildDone method as expected and I have access to the Scope and Action which are very useful, but I would like to continue only if there were no build errors. I can't find anything like this, especially not in native C++.

This is the first ATL/COM stuff I've ever written, so I'm clueless :) Any help is appreciated
Jun 20 '07 #1
0 978

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Simon Harvey | last post by:
Hi chaps, Does anyone know if the beast is going to release Visual Tools for office to work with Visual Studio 2002 and not just 2003, or are they quite happy to shaft those that supported them...
0
by: Howard Kaikow | last post by:
When I installed VS .NET Pro 2002 last year, on a system that has VB 6, an "Open With Microsoft Visual Studio .NET 2002" shortcut was added to the right-click menu when I right-click on a .VBP...
2
by: john bailo | last post by:
There's an upgrade offer for VS.NET 2003 thats pretty reasonable. They say that the upgrade is for VS.NET 2002. We bought our VS.NET in 2002 but it doesn't say '2002' on it. Did we miss an...
1
by: Asad Khan | last post by:
Hi, I have Visual Studio 2002 Enterprise Architecture Edition. I was wondering if anyone has any information on how I can develop applications for .Net Compact Framework using this IDE. I've heard...
0
by: jonathan | last post by:
Now I'm installing the visual studio .net 2002 into my computer. But at the last two minutes, it will hang on the msolapui.dll. And the setup program can not roll back also. Could any one help...
4
by: amy | last post by:
Hi, I have Visual Studio .NET enterprise architect version 2002 installed on my PC. Now I like to install Visual Studio .NET 2003 Enterprise Architect. Do I need to remove .NET 2002 first...
1
by: Daniel A. Thomas | last post by:
License required Maybe you don't have this but have one of the products that qualifies for the upgrade such as ... Visual Studio .NET 2003 Professional Visual Studio .NET 2003 Professional...
3
by: EMW | last post by:
Hi, Is it possible to write software for the PocketPC 2002 and 2003 with this Visual Studio version? Of is it only possible with Visual Studio .NET ent. arch. 2003? (and eVB 3.0) thnks, Eric
4
by: Z.K. | last post by:
I have Visual Studio.Net 2002 installed on my computer and now suddenly, it won't launch, I can not repair it, and I am unable to uninstall it either. When I try to uninstall it, or repair it, I...
4
by: Daniel | last post by:
How to take an IE rendered screenshot of a website with visual studio .net 2002 or visual stuido .net 2003? I can't install visual studio .net 2005 on this computer.
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.