Hi
Not a C++ question, but perhaps someone can help...
I've created an installer (msi) using the visual studio 2002 setup project and all works fine. The question I have is:
Is there a way of saving the chosen installation path to the registry such that I can find the program's path at the next stage of the installation?
Presumable the MSI saves the install path to the registry anyway so...
User Profile
Collapse
-
Visual Studio 2002 Add-in - Build Done Event
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:
[code=c]
class BuildEventsSink : public IDispEventImpl< 1, BuildEventsSink , &__uuidof(EnvDT E::_dispBuildEv ents), &EnvDTE::LIBID_ EnvDTE, 7, 0>
{
public:
BEGIN_SINK_MAP( BuildEventsSink )... -
In case this is of any use to anyone, its a matter of simply including a Version resource to the project. i.e. Add -> add resource -> version
So Simple... -
Embedding metadata into executables at compile-time
Hi All
Not strictly a C++ question, but is there a way of embedding metadata such as Version, company, comments into a dll/exe at compile-time using Visual Studio. Its obviously possible as most commercial software has the data embedded which windows displays in the file's properties under the Version tab.
Windows XP
Visual Studio .NET (2002)
C++ projects/solutions
The closest I've found... -
Hi
Here's a more compete example of what I'm trying to do:
Effectively I'm trying to implement some bounds checking on the array. I wanted to leave the pointer to the array of Struct2 public (for various reasons) but still wanted to provide some additional safety. (The pointer is const in the actual implementation)
...Code:struct myStruct2 { myStruct2() { memset((void*)this, 0, sizeof(myStruct2));Leave a comment:
-
Subscript operator overloading
Hi all
This seems to me a peculiar problem, but confounding nonetheless...
The problem seems to be that an overloaded subscript operator isn't being called unless it is called explicitly
...Code:struct myStruct { myStruct& operator[] (int index) { return *(this + index); } bool val1; int val2; float val3; double val4;
No activity results to display
Show More
Leave a comment: