Is there a "call stack" for compiler errors in Visual Studio 2005 (C++)?
For example, I am using a boost::scoped_ptr as the value in a QHash. This is however causing the following compile error:
1>c:\qt\include\qtcore\../../src/corelib/tools/qhash.h(743) : error C2248: 'boost::scoped_ptr<T>::operator =' : cannot access private member d...
This is a really strange issue. One day my project started to do a rebuild every time I launched it in the debugger, even if I hadn't changed the code. ie. I would go Build->Build Solution, then Debug->Start Debugging, it would rebuild when I tried to start debugging. The specific file that it recompiles is shown (left out source code, j...
I'm trying to create a web application project template for everyone to use here at work that will minimize the amount of work that we have to do to create a new application with all our normal stuff, and I was thinking that it would be nice to do some setup stuff (add some records to a database) when the developer creates a new applicat...
I have developed a project in VS2005(C#) which contains two crystal reports, the project is working fine and crystal reports are running properly on my system. But when my friend tries to run the project on his system, then the projects runs well but when I am opening crystal reports I am getting the error shown in image below
We are ...
Is it possible to link a static library built with VS2005 into an application that is to be built with gcc (in Cygwin)?
...
When porting unix project developed in C language to windows and compiling it with VS 2005, compiler reports errors related to incorrect type conversion like " can not convert 'const char*' to 'char*' ". Is it possible to disable this strong checking through compiler options.
-Thanks for attention
...
I'm working on getting a Visual C++ 2005 solution to compile in unicode. However, In some of my projects (but not all), I get errors in the form:
1>.\CBitFlags.cpp(25) : error C2065: 'L' : undeclared identifier
and the line of code in question is:
LOGERROR(UTILITY, L"Tried to use object to store %d flags, when max is %d",
I am BAF...
My question concerns with Visual Studio 2008, although I suppose it should be that same in VS2005
I have two solutions in my workspace, say A and B.
Solution A is an older project which I finished coding some time ago.
In solution B, I need to use some classes from Solution A. To do so, I add a reference to the dll of one of the proje...
When I press F5 and source was modified, my Visual Studio doesn't rebuild the source and runs the existing (out-of-date) executable. I need to press F7 then F5.
How do I tell msvc to auto-rebuild when I press F5?
This is MSVC 2005, C++.
...
Update: After more digging this seems to be an issue with static methods and member variables. I found this post on MSDN forums, but no answer.
I am writing a C# WinForms app(.Net 2.0) with a mixed mode dll all in the same solution. When I step into native code while debugging I am unable "watch" many of the pointer variables. This seem...
We're considering converting a large solution from 2005 to 2008, but want to make sure that we don't hit any unforeseen issues. What are the things that we should be looking out for? Are we going to need to retest the entire project? Thanks!
...
I will usually have a number of instances of Visual studio 2005 open on the same machine loaded with different versions of the same solution.
I would like very much to be able to do is to identify which instance is which (prefferably from the taskbar or the title bar) without having to drill down to an individual file and right click vie...
I have a DLL project for Visual Studio 2005 that has "XML documetation file" turned on.
Whenever I do an incremental build, during post-build event execution there is no XML documentation file in the output directory.
If I pause the build during post-build event (using sleep utility from GnuWin32 CoreUtils), I can see the file in the ou...
I would like to copy a relatively short sequence of memory (less than 1 KB, typically 2-200 bytes) in a time critical function. The best code for this on CPU side seems to be rep movsd. However I somehow cannot make my compiler to generate this code. I hoped (and I vaguely remember seeing so) using memcpy would do this using compiler bui...
I am trying to set a breakpoint in an ASP page that isn't working correctly.
I am doing this in visual studio 2005 on Windows server 2008.
Whenever I try to set the breakpoint with the mouse, the IDE opens up a different page and sets a breakpoint somewhere in that page. I don't know why it is doing this.
I have better luck setting th...
Every time I view a form or dialog in Visual Studio (2005) the Properties and Toolbox panes show up on the right side of my screen. That's good to have because they are useful for manipulating dialogs.
However once I switch back to source code these panes just get in the way... is there a way to get them to go away automatically?
...
I'm learning to use Crystal Reports (with VB 2005).
Most of what I've seen so far involves slurping data directly from a database, which is fine if that's all you want to display in the report.
My DB has a lot of foreign keys, so the way I've tried to stay sane with presenting actual information in my app is to add extra members to my ...
I have a solution where I'm repeating various class names within three different projects (a WCF service project, a unit testing project and a BL project). Also partial classes have been used to spread these classes across multiple files.
The net result is that I've got 5 different file names that are repeated across three different pro...
I have a 3rd party library and a simple benchmark test that I write by myself to test this library for performance. 3rd party library is C++/CLI .NET library and most code there is unmanaged. This library is assembled for .NET Framework 2.0. My benchmark test is managed C# code that adds little overhead to the library, only simple calls ...
I'm trying to learn Crystal Reports (VS 2005, VB) and per this question I was trying to drive the report with my own data objects instead of through a DB connection.
I found this tutorial and it looked promising as an answer to my question, but after diving in it only seems to apply to web development.
Am I out of luck in trying to pow...