visual-c++-2005

Change app icon in Visual Studio 2005?

I'd like to use a different icon for the demo version of my game, and I'm building the demo with a different build config than I do for the full verison, using a preprocessor define to lockout some content, use different graphics, etc. Is there a way that I can make Visual Studio use a different icon for the app Icon in the demo config ...

Capturing cout in Visual Studio 2005 output window?

I created a C++ console app and just want to capture the cout/cerr statements in the Output Window within the Visual Studio 2005 IDE. I'm sure this is just a setting that I'm missing. Can anyone point me in the right direction? ...

" Attach to Process " in Visual Studio 2005

I installed Visual Studio 2005 ( with SP1 ) and made the default settings as what is required for C++ . Now i open a solution and run the exe . Under " Tools " menu item i go and Select " Attach the process " and i attach it to the exe i just ran . I put breakpoints several places in the code ( this breakpoints looks enabled ) and the...

How to get a full call stack in Visual Studio 2005?

How can I get a full call stack for a c++ application developed with Visual Studio 2005? I would like to have a full call stack including the code in the system libraries. Do I have to change some settings in Visual Studio, or do I have to install additional software? ...

Visual Studio 2005 locks up when attaching to process

I have a simple C++ DLL that implements a few custom actions for a WiX installer. Debugging the custom actions is usually simple: put up a temporary dialog box at the beginning of the action, and attach to the process when the dialog box appears. But today, whenever I attach to the process, I get the "Microsoft Visual Studio is Busy" b...

Is there a good C++ crash reporting library that works well with Visual Studio 2005?

After reading this previous discussion and this one, it looked as though Crashrpt was exactly what I was looking for, but it seems it's no longer being maintained and, after playing with it, found it doesn't work well with Visual Studio 2005. Is anyone using Crashrpt with Visual Studio 2005? If not, can anyone recommend a good C++ solu...

Debugging Multi-Project (C++) Solutions in Visual Studio 2005

I'm currently developing an application that is comprised of five separate executables that communicate via ActiveMQ. I have a Visual Studio Solution that contains the five executable projects. One of the projects (the launcher.exe) launches the other four projects from their local folders as separate processes. As such, the launcher ...

What's a quick way to trace the entry and exit of functions in a Visual Studio 2005 c++ multithreaded program?

I have intermittent crashes occurring in my ActiveMQ libraries due to the way I'm using the activemq-cpp API. It'd be much easier to debug the issue if I could observe every function being called leading up to the crash. Are there any quick ways to trace the entry and exit of functions in a Visual Studio 2005 c++ multithreaded program?...

Linker Errors C++ Visual Studio 2005

I'm getting a whole bunch of linker errors in Visual studios for methods I'm not even calling directly. I'm a java developer by day, but I have a project I need to do in C++, intended to run on windows machines. Hence, I'm stuck messing about with Visual Studio. Bascally, I have an os project that I added an accessor method to. I compil...

Reusing object files in Visual Studio 2005

Here's the situation: I have one VS2005 solution with two projects: MyDll (DLL), MyDllUnitTest (console EXE). In MyDll I have a class called MyClass which is internal to the DLL and should not be exported. I want to test it in MyDllUnitTest, so I added a test suite class called MyClassTest, where I create instances of MyClass and test ...

invoking functions while debugging with Visual Studio 2005?

Here's something I know is probably possible but I've never managed to do In VS2005(C++), While debugging, to be able to invoke a function from the code which I'm debugging. This feature is sometimes essential when debugging complex data structures which can't be explored easily using just the normal capabilities of the watch window. The...

Ant -> Nant -> Visual Studio 2005 Build

I am working on a big C++ project. It is building using single Ant script which makes possible to compile the same source targeting more than one platform and compiler. But, I have to work only for Windows platform and Visual Studio 2005 C++ compiler. It would be really nice if I could write code and compile in Visual Studio, instead of...

Setting file version number in Visual Studio 2005 C++

Can anyone point me in the right direction how to configure Visual Studio 2005 with our C++ console project how we can include a 'File Version' in the details section of the file properties. I've tried resource files without any luck. This is with a C++ project just for clarification, and big thank you for the guys you responded with C#...

BEGIN_MSG_MAP_EX breaks Visual Studio 2005 intellisense?

I have a C++ application using WTL/ATL BEGIN_MSG_MAP_EX macros for message handling. I use some macros from atlcrack.h. When we upgraded the projects to Visual Studio 2005, intellisense acts crazy. I've tracked the behavior down to the BEGIN_MSG_MAP_EX macro not behaving correctly with intellisense. However, I can not find a way to cont...

What are some reasons I might be receiving this "Symbol not defined" error in Visual Studio 2005 (screenshot included)

When debugging my VS2005 project, I get the following error when I attempt to step into the function that returns the vScenarioDescriptions local variable it's struggling with... As I continue to walk through the code and step into functions, it appears I'm getting this error other local variables as well. Any ideas? Thanks in advan...

How do I resolve: "error C2039: '{ctor}' : is not a member of" in Visual Studio 2005?

I am extending a template class using C++ in Visual Studio 2005. It is giving me an error when I try to extend the template base class with: template <class K, class D> class RedBlackTreeOGL : public RedBlackTree<K, D>::RedBlackTree // Error 1 { public: RedBlackTreeOGL(); ~RedBlackTreeOGL(); and a second error when I try to inst...

Visual Studio 2005 (C++) default warning level

I'm working on a new development in C++, using MS Visual Studio 2005. For this, I need to add several new projects to my solution. I always set my warning level to 4, and turn on "treat warnings as errors" (project -> properties -> c++ -> general). Is there a way for me to tell Visual Studio that this is my default so I don't have to do...

Can you make Visual Studio 2005 provide command line arguments for your startup program?

For testing purposes, is there some place in the Visual Studio IDE where you can specify the command line parameters that you want sent to your startup project when it's launched from the IDE? Thanks in advance for all your help! ...

Visual Studio 2005: static text control won't display with transparent background

I'm using the Dialog editor in Visual Studio 2005 to create a Dialog box with a static text control. I'd like the background of the static text control to be transparent since I'm using an static image control underneath it and the grey text background looks hideous. In the editor, I set the "Transparent" attribute to True and it cause...

C++ Project dependencies issue Visual studio 2005

Hi, I am working on a dataManagement project that periodically deletes files in a specific folder. The solution has three projects of which, one is the application and the other two are static libraries. Now I want to add one more project which is a static library used for logging. The logging static library project has a header file whi...