visual-studio-2003

How can I configure windows to generate a core dump from an application?

五迷三道 提交于 2019-11-28 17:56:14
How can I configure windows to generate a core dump from an application? I'm using Win xp, and the application is build with Visual Studio 2003. Microsoft has a free tool called Userdump.exe which will do this. It's pretty simple to use that tool to create a dump (.dmp) file for a process that shuts down with an exception or to create a dump file for a hanging process Just to throw in some other suggestions: ProcDump that is part of the MS SysInternals suite (it captures crashes but also does a load more, can take dumps if CPU usage spikes for an amount of time, etc) You can put code into your

PDB remains open after debugging (Windows 10, Visual Studio)

允我心安 提交于 2019-11-28 14:23:04
Our previous development systems used Windows XP and Windows 7. Debugging C++ DLLs from Visual Studio worked great. A recent move to Windows 10 has resulted in an annoying problem. We can debug once (using F5 ), but the 2nd time results in a linker error: MyProg fatal error LNK1201: error writing to program database 'MyProg.pdb' Trying to delete the .pdb manually in Explorer while Visual Studio is still open results in the error: The action can't be completed because the file is open in devenv.exe It doesn't matter whether you hit a breakpoint or not. Just start debugging once results in the

Copying Visual Studio project file(s) to output directory during build

怎甘沉沦 提交于 2019-11-27 20:01:55
When I build a Visual Studio project, the executable is written to the output directory specified in the projects Property Page. I have a project that has some extra files (e.g., .ini file) that are used by the program. How can I configure the project to copy the file to the output directory so that when the program runs, it has a copy of the other file in its CWD? I checked the Property Page of the file and there was nothing useful other than an option to exclude it from the build (which is disabled), and the custom-build-tool command is empty (plus it is a plain-text file that does not need

Where to download Microsoft Visual c++ 2003 redistributable

僤鯓⒐⒋嵵緔 提交于 2019-11-27 12:40:01
问题 I have an old dll that uses the Microsoft Visual C++ 2003 (7.1) run time package. Unfortunately I don't have that DLL around anymore. Short of reinstalling VS2003, is there another way to get the run time redistributable dll? 回答1: Storm's answer is not correct. No hard feelings Storm, and apologies to the OP as I'm a bit late to the party here (wish I could have helped sooner, but I didn't run into the problem until today, or this stack overflow answer until I was figuring out a solution.)

Has anyone managed to get Visual Studio 2003 running on Windows 7?

寵の児 提交于 2019-11-27 12:17:56
问题 Yes, I know... I could set up a virtual machine running XP. Unfortunately our build environment is such that we need to be running VC2003, 2005 and 2008 concurrently and it would be much more convenient if I could run 2003 natively on Windows 7 for the few projects we have that require it. I realize some things may not be available in the IDE, but I was able to run 2003 under windows Vista and if I could get the same base level of functionality under Windows 7 I would be extremely happy.

How can I configure windows to generate a core dump from an application?

你离开我真会死。 提交于 2019-11-27 10:54:40
问题 How can I configure windows to generate a core dump from an application? I'm using Win xp, and the application is build with Visual Studio 2003. 回答1: Microsoft has a free tool called Userdump.exe which will do this. It's pretty simple to use that tool to create a dump (.dmp) file for a process that shuts down with an exception or to create a dump file for a hanging process 回答2: Just to throw in some other suggestions: ProcDump that is part of the MS SysInternals suite (it captures crashes but

Copying Visual Studio project file(s) to output directory during build

此生再无相见时 提交于 2019-11-26 20:06:47
问题 When I build a Visual Studio project, the executable is written to the output directory specified in the projects Property Page. I have a project that has some extra files (e.g., .ini file) that are used by the program. How can I configure the project to copy the file to the output directory so that when the program runs, it has a copy of the other file in its CWD? I checked the Property Page of the file and there was nothing useful other than an option to exclude it from the build (which is

How to properly replace global new & delete operators

会有一股神秘感。 提交于 2019-11-26 05:21:24
问题 First of all, there were at least 4-5 topics with a similar topic on SO. I read each of them and I don\'t feel they really help me with this specific issue. If someone else finds a duplicate question I apologize. I\'ve done my share of searching before I posted this, as it seems like a very common question. I\'m using Visual Studio .NET 2003 on Windows 7. I have my own overloads of new/delete that point to my own custom calls to malloc() and free() for diagnostics. My new/delete overloads are