Questions tagged [visual-studio-2008]

This tag refers to the Visual Studio line of software development products from Microsoft, the 2008 version. Do not use this tag unless you have a specific question about Visual Studio -- not just a coding issue. Questions should be specific to the 2008 version of Visual Studio.

Microsoft Visual Studio 2008 is an integrated development environment (IDE) from Microsoft. It is used to develop console and graphical user interface applications along with Windows Forms applications, web sites, web applications, and web services in both native code together with managed code for all platforms supported by Microsoft Windows, Windows Mobile, Windows CE, .NET Framework, .NET Compact Framework and Microsoft Silverlight.

Visual Studio does not support any programming language, solution or tool intrinsically, instead allows the plugging of functionality coded as a VSPackage.

More information:

15670 questions
7
votes
3 answers

Changing Warning Level for 3rd Party Libs

I generally like to compile against warning level 4 in Visual Studio and treat all warnings as errors. The problem is, Ogre3D is not compiled with warning level 3 (neither is FBX SDK or OIS, which I am also using), and that poses a problem because…
Samaursa
  • 16,527
  • 21
  • 89
  • 160
7
votes
1 answer

Program Slicing in VS 2008

Anyone have any ideas or experience using program-slicing techniques for debugging OO projects in MS Visual Studio 2008? Tool suggestions would be helpful.
Dave Hewins
7
votes
3 answers

WiX generated MSI is not compressed

I use WiX3 to generate MSI installation package. I have specified comression flag on in both the and elements:
user48829
  • 249
  • 4
  • 10
7
votes
5 answers

Visual Studio Breakpoint Macro to modify a value?

I'm debugging an application (C++), and I've found a point in the code where I want to change a value (via the debugger). So right now, I've got a breakpoint set, whereupon I do: Debugger reaches breakpoint I modify the variable I want to change I…
Tim
  • 8,912
  • 3
  • 39
  • 57
7
votes
1 answer

Why Won't Visual Studio Stop When Exceptions Occur?

For some reason Visual Studio 2008 doesn't always stop when an exception occurs to report the exception when I am Debugging. Sometimes it just jumps up an arbitrary number of frames in the stack and continues on with program execution. This results…
Jordan
  • 9,642
  • 10
  • 71
  • 141
7
votes
4 answers

"Attach to Process" as a post-build event

I have an application that runs hosted under the "w3wp.exe" process. While debugging, I often find myself following these steps: 1 - Make some change 2 - Build the project 3 - Attach to "w3wp.exe" using the "attach to process" dialog under the Tools…
JosephStyons
  • 57,317
  • 63
  • 160
  • 234
7
votes
3 answers

Visual Studio 2008 search and replace regex

I have a large solution with a lot of lines that I need to replace. In Visual Studio, you can search and replace with the aid of regular expressions. I want to replace lines…
Michel van Engelen
  • 2,791
  • 2
  • 29
  • 45
7
votes
3 answers

CMake: defining link directories and libraries for different build targets

I have a vs2008 project here. Its project files are generated by CMake. What I want to do is define libraries and library directories for the Debug and Release target independently, i.e. release libs for the release target and debug libs for the…
fritzmg
  • 2,494
  • 3
  • 21
  • 51
7
votes
4 answers

"missing type specifier" error on constructor declaration

I have 2 classes in 2 different files: RegMatrix.h: #ifndef _RM_H #define _RM_H #include "SparseMatrix.h" ... class RegMatrix{ ... RegMatrix(const SparseMatrix &s){...} //ctor ... }; #endif SparseMatrix.h: #ifndef _SM_H #define…
Sanich
  • 1,739
  • 6
  • 25
  • 43
7
votes
1 answer

The correct way to implement ThreadPool.RegisterWaitForSingleObject

I am trying to use ThreadPool.RegisterWaitForSingleObject to add a timer to a set of threads. I create 9 threads and am trying to give each of them an equal chance of operation as at the moment there seems to be a little starvation going on if I…
flavour404
  • 6,184
  • 30
  • 105
  • 136
7
votes
2 answers

How to include INF driver install into VS Installer project

I use a Setup and Deploy project in Visual Studio 2008 to install my c# project. I have a USB driver that i can manually install by right clicking the .inf file and choosing Install. I think that if i had a .exe to install the driver, i could…
7
votes
6 answers

Relative path to a stylesheet in Visual studio not working in preview

I'm assuming this is an easy question, but I'll be darned if I can find the answer. I have a website in Visual Studio 2008. The paths to the stylesheets (and images) are in the following format /css/stylesheetname.css At the root of the web project…
Tim
  • 4,414
  • 4
  • 35
  • 49
7
votes
1 answer

VS2008 binary 3x times slower than VS2005?

I've just upgraded a native C++ project from VS2005-SP1 to VS2008-SP1 The first thing I tested was a very basic functionality test of the application and the first thing I noticed is that the main number-crunching algorithm performs three times…
shoosh
  • 76,898
  • 55
  • 205
  • 325
7
votes
7 answers

I'm getting the error "Application" is ambiguous in the namespace 'microsoft.office.interop.excel'

I have a project which opens a simple Excel file and populates it. It was working fine until this morning, when it has suddenly started giving me the error above: 'Application' is ambiguous in the namespace 'Microsoft.Office.Interop.Excel'. I…
calico-cat
  • 1,324
  • 6
  • 20
  • 36
7
votes
4 answers

Why does this code compile?

Last night, being too tired, I wrote this strange line: ::TerminateThread(::TerminateThread, 0); To my surprise, the compiler does not complain (It even run...) Since TerminateThread() is defined as BOOL WINAPI TerminateThread(HANDLE hThread, DWORD…
Lior Kogan
  • 19,919
  • 6
  • 53
  • 85
1 2 3
99
100