visual-studio-2008

How to debug properly and find causes for crashes?

I dont know what to do anymore... its hopeless. I'm getting tired of guessing whats causing the crashes. Recently i noticed some opengl calls crashes programs randomly on some gfx cards. so i am getting really paranoid what can cause crashes now. The bad thing on this crash is that it crashes only after a long time of using the program, ...

Any way to separate unit tests from integration tests in VS2008?

I have a project full of tests, unit and integration alike. Integration tests require that a pretty large database be present, so it's difficult to make it a part of the build process simply because of the time that it takes to re-initialize the database. Is there a way to somehow separate unit tests from integration tests and have the...

understanding the anatomy of file formats and image formats

I am trying to do some research on file formats especially image formats. Information such as header layouts for particular types of image formats and how to parse them using C++. If anyone can point me in the right direction of some good tutorials or books. that would be helpful. thanks [edit] If there are any resources on the general ...

error working with wsdl files in visual studio 2008

Hi. I got a wsdl file in email. At first I didn't know how to use it. I've simply saved the file to my disk. Opened visual studio...added a service reference...provided path to file, and service was discovered. I opened the object browser to see the types and methods that got imported. I figure anything that ends with the name 'Client' i...

unable to start debugging on the web server an authentication error occured while communicating with the server - VS2008 + IIS5.1

It seems lots of people are having the same problem, but with different error messages. the error message I get is... "unable to start debugging on the web server an authentication error occured while communicating with the server" there is a great link from MS detailing every other debugging error message except my one - http://msdn....

tfs Run multiple test during daily build in tfsbuild.proj

I have one build definition (TFS 2008), with two solutions in it: TFSBuild.proj: <SolutionToBuild Include="$(BuildProjectFolderPath)/../../ProdigyUtils/Development/ProdigyUtils.sln"> <Targets></Targets> <Properties></Properties> </SolutionToBuild> <SolutionToBuild Include="$(BuildProjectFolderPath)/../../ProdigyUtils/Release 01...

How do I make a button on a form behave like a button on a toolStrip? VS2008

How do I make a button on a form behave like a button on a toolStrip? I want a menu-type list to come down. I tried using a toolStripContainer but it is very hard to manipulate to get it to behave as just one button. Is there an easier way than just putting a toolStrip with one button in a toolStripContainer? Thanks. ...

Visual Studio 2008 adding incorrect working folders to TFS Workspace

I am using Visual Studio 2008 with TFS. I have one workspace set up with one working folder. I map the root source control folder $/ to C:\TFS and get all code. When working on any project under the root, Visual Studio will randomly add incorrectly mapped working folders to my workspace. For example, it might map $/WebProject/ to C:\T...

VS2008 Link Error Using SafeInt3.hpp in 64bit mode.

I have the below code that links and runs fine in 32bit mode - #include "safeint3.hpp" typedef SafeInt<SIZE_T> SAFE_SIZE_T; SAFE_SIZE_T sizeOfCache; SAFE_SIZE_T _allocateAmt; Where safeint3.hpp is current version that can be found on Codeplex SafeInt. For those who are unaware of it, safeint is a template class that makes working wit...

How to add generated files to multiple projects using CodeSmith tools

I'm using CodeSmith on my current project and I'm trying to figure out an issue. For my CodeSmith project (.csp) I can select an option to have it automatically add all generated files to the current project (.csproj). But I want to be able to add the output to multiple projects (.csproj). Is there an option inside of CodeSmith to all...

Problem wit MDAC when trying to compile in VS2008 using x64 bit target platform

I am trying to compile an 32 bit application. I am aware of problems with it but that is why its being compiled on 64 bit version. I am hanging at this problem. Application uses lots of sql stuff. In sqltypes.h file: (provided by MDAC) #ifdef _WIN64 typedef INT64 SQLLEN; typedef UINT64 SQLULEN; typedef UINT64 SQLSETP...

Ordered Tests in Visual Studio 2008

I created an Ordered Test in Visual Studio 2008, which includes a subset of unit tests in the project. How do I now run this Ordered Test (without running every other test). ...

Do dll's ever turn into machine code ?

Just curious, I was told that with dll files, you can make modifications to the dll without recompiling the whole application that uses it. On the other hand .lib files need to be compiled so the code can linked to the application as one. So I know that the .lib files are turned into machine code. but what about the dll's ?? Are they t...

CUDA linking error - Visual Express 2008 - nvcc fatal due to (null) configuration file

Hi, I've been searching extensively for a possible solution to my error for the past 2 weeks. I have successfully installed the Cuda 64-bit compiler (tools) and SDK as well as the 64-bit version of Visual Studio Express 2008 and Windows 7 SDK with Framework 3.5. I'm using windows XP 64-bit. I have confirmed that VSE is able to compile i...

better understanding of extern "C" functions

I am just trying to further understand extern C functions. According to my knowledge, an extern C function is always a function you are trying call from an application that has already been compiled. Either a executable, static or dynamic library. extern "C" { HRESULT CreateDevice(); typedef HRESULT (*CREATEDEVICE)(); HRESU...

Version number for Visual Studio 2008 SP1 (professional)

I'm trying to get jquery intellisense working per the instructions here: http://weblogs.asp.net/scottgu/archive/2008/11/21/jquery-intellisense-in-vs-2008.aspx#7117822 I'm not sure if my VS patched right. The version number shows up as: Microsoft Visual Studio 2008 Version 9.0.90729.1 SP I know it seems nitpicky, but I expect to see "SP1...

Can my asp.net dll's or pages can be effected by virus living in my pc

Hi, Just curious to know that if my pc is infected with trojan or any other virus, is it possible that my website will be infected along with that I have made up in asp.net with visual studio 2008. I am not sure that it is the right place to put this question or shall I have to put it to http://stackapps.com/ or any other site linked ...

Visual Studio 2008: Database changes not commited. Everything works outside of VS after building.

I have a simple application that fills data into a Microsoft SQL Compact 3.5 database. The database is included into the designtime of Visual Studio 2008 Express. Example: NorthwindTableAdapters.ProductsTableAdapter productsAdapter = new NorthwindTableAdapters.ProductsTableAdapter(); // Add a new product productsAdapter.Insert("New ...

Step into Stored Proc gives "Canceled by User" in VS 2010 but works in VS 2008

I'm running a local instance of SQL 2008 standard on my workstation. Also have VS 2008 and VS 2010 installed on it. I've (for this test) disabled the Kaspersky AV and ensure windows firewall is off. When I debug a stored proc on my local SQL instance by right clicking and selecting "Step Into Stored Procedure" in VS 2008 it works. I ge...

How to share a namespace between projects in .NET/C#/VS2008. Receiving error: "are you missing an assembly reference?"

What is the protocol to share a namespace between two projects when consequential projects will reference both of the namespaces? Obviously this is possible (System, mscorlib)... I've gotten different errors depending on the things I've tried. Right now I have two projects Blueprint and Domain that share the MainApp namespace (for ins...