Answer Questions
maguidhir VS 2005 (without .NET): App Freezes for 30 Seconds or more
Greetings! We have a 300,000 line C application that I've been building for 11 years through multiple versions of Visual C / Visual Studio. We keep most of our constants in one file called "constants.h". When I go to the edit this file, the newest VS ("VS 2005") will often freeze. I believe it is busy recalculating "browse" information on the fly. That is, if I change the value of a '#define', it seems to be recalculating all these value ...Show All
deacon Property Sheets - A problem
Compiler: Visual Studio.NET 2002 Hi everyone, I am having trouble teaching myself Property Sheets. I thought I grasped the ideas but I get a 'First-chance exception' in the Output window when debugging. I do not think I am doing anything special, my code is: CPropertySheet propsheet(_T("Property Sheet")); MyPage pageFirst; // derived from CPropertyPage MyPage2 pageSecond; // derived from CPropertyPage propsheet.AddPage(& ...Show All
FatherDrew VS2005 unnecessary build for project
In a solution, a particular project appears to Build for no reason which I can discover when I choose Build. Is there any way to determine why the IDE Builds a project, in other words why it is deciding that it needs to actually do anything when one chooses to Build Can a makefile be generated from within the IDE for a project or is there any way to get the IDE to show something which will lead me to discover why it is Building In this project t ...Show All
Mervyn Using a dropdown combo list to determine what GDI+ draws
Hi, I am looking for help with some code in vc++ to clear the screen and re-draw onto the MFC application depending on what has been selected from a dropdown list. Can someone help with this Thanks in advance, Steve. I think you'll need to provide more info before you'll get an useful answers. Hi Jim, i guess you need something like this: //depending on combobox selection invalidate window ...Show All
n3sachde Problem changing proxy with custom IE Toolbar
When I execute the following code in my program, it works fine when I toggle the buttons that I generated. However, if I go into IE and manually set the proxy via Tools -> Internet Options -> Connections -> Lan Settings -> Check/Uncheck "Use a Proxy setting...", it works the first time and runs the correct method, so if I check the box and turn the proxy server on and click Ok it will run the ProxyOn() method. However if I don't comp ...Show All
John Simpson 2000 converting std::string to TCHAR
Hi I need to convert an stl string to a TCHAR*. I found lots of information searching on the web, but I can't understand what is the best method. I want somenthig like this: std::string myString = "hello"; TCHAR* myTcharString = [somefuntion](myString); Someone knows the answer thanks it doesn't seem the right answer: using these methods I can obtain a const char*, while I want to get the correspond ...Show All
Half Abude Win32 Modal Dialog Box
I've made this custom control (as I often do) but this thing relies on WM_CHAR and it appears that modal dialog boxes don't translate messages because the custom control doesn't get WM_CHAR when in one. I looked around and couldn't find any solutions or similar problems, but a test-bed reveals this is not a problem specific to my project. Thanks for any help in advance. P.S. Yes, I realise what is causing the problem; modal dialog boxes have th ...Show All
Gandalf Hudlow 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 I believe this is a bug, could you please log it at http://lab.msdn.microsoft.com/productfeedback/default.aspx and ...Show All
Kaustubh194874 Can C++ develop web-based applications?
Hi, All New to C++ programming. and have put resource in C++ and VC books and time learning it. But now I was told that C++ can not develop web based apllications. Is this true or some extensions of C++ can go around this limit I need develop a web-based database, so the users can input company names, location, phone numbers. etc. and the users can have a full text search on this database. Do I have to learn C# and and SQL to do this ...Show All
Doutaz Michel VC++ 2005: Release Version crashes
Hello together, i migrated a bigger project (400000 lines) to VC8. The debug version works fine the release version crashes. I switched all available project settings for the release version to the settings of the debug version. Still the program crashes before it enters InitInstance. Debugger says it crashes in WinMain calling OpenDocumentFile with FileName pointer NULL. I use the static library. Any ideas Christoph ...Show All
sou1_pure Problem with ATL-hosted ActiveX control (atlhost.h / AtlAxWin80 window-class) in VS2005 RTM
Like many before me, I need to embed Internet explorer within a window in my C++ non-MFC program. I spent all of yesterday reading MSDN and browing the web trying to work out how to do it, but 99% of the examples I found are either non-C++ or MFC. Finally I found the ATL AtlAxWin80 window-class, which seemed to give me exactly what I wanted with a minimum of overhead, but I have a big problem. While the embedded Internet Explore ...Show All
Yaroslav Buzko The parameter is incorrect - when opening a file from CD - please help
Hello.Forgive me my English. I'm using VS .NET 2003. One of my Users have a problem with reading CD-roms with my application. I've found this: http://support.microsoft.com/default.aspx scid=kb;en-us;828100 I've read there that this is a problem with MFC - precisely with CFileStatus and I need a hotfix. Now - where can I download this hotfix And, generally, where are the service packs When I've b ...Show All
HuaMin Chen Moving from VC 6.0 to VC 2005
Hi all, I'm current investigating a way to move from Visual studio 6.0 to the lastest VS 2005. My project comprises with MFC, stl, and thirdparty libraries. When I test converting it to VS 2005 beta 2 the compiler generated 6500+ error. Is there a better way to do this Or is there a compiler switch that make the new compiler compatible with VS6.0 compiler 6406 Errors.493 warnings. These codes are truely legacy ...Show All
Antarestaiwan Express and VS Standard
Hey, I was thinking about buying vs standard 2005. I develop mostly in c++, so I was wondering what the advantages are of the standard version comparing with the express version No! VS 2005 can only target .NET 2.0. You need VS 2003 for .NET 1.1! Thanks for you answer. I'll use it to develop native cross-platform (linux, windows) applications. So I won't use MFC or something like that. Maybe later al ...Show All
Bill-R Std C++ stack issue
I'm compiling code under VS 2005 as well as on Unix using Gnu compiler and libs. I noticed a difference in the accessibility of the "_Container c" member of the stack template class (in the <stack> header). It is protected on my Unix version, but the "protected" keyword is commented out on my VS 2005 copy. i.e. //protected: _Container c; // the underlying container }; Which ...Show All
