Answer Questions
RistoM Using tools without installing Visual Studio
Nikola Dudar has a blog entry that descibes how to build on a system without a complete installation of VS 2005: http://blogs.msdn.com/nikolad/archive/2005/02/09/370299.aspx This works, to a point. I am running into an issue where MIDL keeps crashing processing IDL files. Does anyone know how to fix this Hi, It crashes in what way Thanks. Ronald Laeremans Visual C++ team Th ...Show All
Akash Maheshwari MSFT crash problem with release build (vc7.1)
hi, i have a curious crash problem in release build of my application. it is kind of game platform which integrates several software packages for rendering, physics, in-game gui, etc. the crash happens only sometimes and is not completely reproducable. i have built the app and all dependent libs with multi-threaded option and program data base ( /Zi, and the linker is also instrumented to generate debug info). so when the crash happens i can obs ...Show All
Johan Levin Unhandled C++ exceptions and Doc Watson
Here is my problem. I have an unmanaged C++ application that occasionally has an unhandled C++ exception. Following good debugging practices I have the PDBs installed on the target machines that demonstrate the problem. Under normal circumstances when an exception occurs Doc Watson will log the information I need (like call stack) to duplicate the problem. Doc Watson is properly configured and works for general exceptions like Win32 exceptions. ...Show All
Oopier VCMAME: compiles with VC2003, fails with VC2005
I'm trying to build the MAME source using Visual C++ 2005. I'm using the VCMAME project files from http://www.vcmame.net/ . I first built the project in Visual Studio 2003, then opened the project in VC++ 2005 and rebuilt. I only had to make a few modifications to the project, like adding _CRT_SECURE_NO_DEPRECATE to silence a bunch of warnings. However, one of the source files (winalloc.c) implements their own memory handling functions so ...Show All
-els- How can a window in a dialog receive keyboard message?
How can a window in a dialog receive keyboard message I create a window in a dialog.This window can show 3D drawing including rotation and can receive mouse message,but it can not receive keyboard message. Please tell me why,Thank you for your answer.My code for create window is as follow.Maybe it need more parameter. My program for create window is as follow: R2=CRect(200, 600, 1000, 800); // TODO: Add extra initialization here m_pDisplay1- ...Show All
Asher Dobbins SOS:VC2005 B2 Express VC++ Directories Problem
I downloaded and installed VC2005 B2 Express, I can't set "VC++ Directories". screenshot: http://member.netease.com/~lilong/temp/VS2005ExOpt.jpg is this bug this is a BIG PROBLEM!! i've got exactly the same problem. no list box coming up countzero wrote: But, when I add an absolute path, like c:\wtl, it does not work, why I've the same problem! If I add an ...Show All
DotNet WizKid Call Browser is not working in VS2005
hi, i just noticed that the Call Browser is not working anymore in VS2005. of course, i can view the Call Browser window but all searches fail. i also do not see the context menu option for call graph when i right-click on a symbol. what should i check thanks for any insight... g well, it looks like Call Browser is available only for c/c++. is this really true if so, i will definitely not be renewing my ...Show All
cu-blenge cl : Command line error D8000 : UNKNOWN COMMAND-LINE ERROR
I am having problem with a response file that contains a /Zm192 command in VC++ 2005 RC. The compiler command line includes @responsefile and the content of the file contains only /Zm192. This worked fine if VC++ 2003. Does anyone have any ideas what is causing this Thanks It just makes it much more difficult to keep code files compatible between VC++ 2003 & VC++ 2005 if you do that worka ...Show All
H Katz How do I get font width and height in pixels ?
Hi , I want to draw text inside a bounding rect.Therefore I want to change the font size to fit the rect. I am trying to find a way to calculate the text width and height, knowing it's font. Why do different fonts with the same size have different height Thanks, ...Show All
Recep TARAKÇIOĞLU How to regenerate Intellisense database?
I am using Visual C++ Express Edition Beta 2 How can I regenerate the Intellisense database for a project It's always showing old, not up-to-date, suggestions. So please mark the best post ans "answer"! Yup, wasn't sure if deleting it would work. It did. Thank you. Delete the .ncb (No compile Browser - aka Intellisense) file for the project. ...Show All
Sammy666 Time complexity of debug/checked iterators
Hi. I've heard that the C++ iterators in Visual Studio 2005 (checked iterators and debug iterators), do not meet to time complexity (big-O) specifications required by the C++ standard. I tried to find some documentation about it, but found nothing. Is there some paper describing this nonconformance, or maybe I'm wrong and the iterators are fully confomant Thanks, Yuval We mean "Tried and succeeded&q ...Show All
amit Kumar Italicized/Bold formatted I/O streams
I can't find any flags to set these, any help would be appreciated. Sorry, unfortunately it can't be done ... the console (e.g. cmd/DOS window) is a single font display. You can do this if you create your own Windows dialog/form for input/output, but the console itself doesn't support this. josh Can you be more specific What type of stream are you writing to And what are you writing. For example, if you we ...Show All
Steamboat Using timers in vc++ via SetTimer and OnTimer
hi . i am using SetTimer(...) combined with OnTimer(...) in my code to call 2 different methods on 2 different timers. Here's a simplified version of my code to make things clear: SetTimer(1, 100, NULL); SetTimer(2, 40, NULL); ... void CMTDlg::OnTimer(UINT nTimerID) { if (nTimerID == 1) { //capture an image from the webcam and save it in the 'img' folder } if (nTimerID == 2) { //som ...Show All
haiaw [ATL] does ATL has any collection tool lik CMap in MFC?
like the title... list<CComBSTR> strings; CComBSTR bstr(L"test"); strings.push_back(bstr); Works for me. i got a bad_alloc exception here is my test code, tested in win32 console+atl support #include "stdafx.h" #include <list> using namespace std; int _tmain(int argc, _TCHAR* argv[]) { CComBSTR myBSTR(L"abc"); list<CComBSTR> mylist; mylist.push_ba ...Show All
Euqil crt deprecation
VS8 has these new defines. I#define _CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES 1 #define _CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_COUNT 1 #define _CRT_SECURE_NO_DEPRECATE If I use the last one, will the other 2 still work I.E. will they still generate code for sprintf_s, strcpy_s, etc (I like the last one because it gets rid of some warnings about gmtime, etc.) If you're careful enough, yes. If your c ...Show All
