Answer Questions
Chenxia VC++ Directories in Beta 2?
Hey, I am having a wierd problem with VC++ Express Beta 2. When I go to Tools->Options->Projects and Solutions->VC++ Directories, I barely see anything. I can see the 'Platform' and 'Show Directories For' combo boxes, but other than that, the window is empty. Does anyone know of a way to fix this Ok, thanks And here is the link to the thread: http: ...Show All
G Glasgow vector<bool>::iterator problem
I have a function which starts with the following: bool CPrng::Seed() { // Used for recording succeses vector< bool > BoolVector; vector< bool >::iterator it; ... The code works fine under gcc and VC6 + VC.NET 2003 but in Whidbey Beta2 it gives: C:\Program Files (x86)\Microsoft Visual Studio 8\VC\INCLUDE\vector(1358) : error C2664: 'std::_Vector_const_iterator<_Ty,_Alloc>::_Vector_const_iterator(const s td::_Vect ...Show All
abc4567 slow linker time: Link.exe excessive PF delta
Recently a dll that use to link in under 1 minute has started taking over 20 minutes to link. During that time, link.exe isn't using the processor at all and it is constantly page faulting. The mem usage on link.exe is around 60 MB. When my co-workers link the same project their link time is normal with link.exe fully using the processor and consuming around 250MB. Any ideas on how to force link.exe to use more memory so it isn't constantly pag ...Show All
SMOwais LINK.EXE BUG: /OPT:NOREF option doesn't work!
My program contains static objects whose constructors are supposed to run at the beginning of the program, but otherwise those variables are unreferenced . The problem is, when I put these variables into a .lib file, they get completely optimized away and never appear in the resulting .exe! My understanding is that /opt:noref is supposed to cure this, however, it has absolutely no effect. I also tried __declspec(selectany) on the vars, al ...Show All
Cycling is too much fun OLE Automation Error
Hi Everyone, I have a COM object that is displaying an OLE Automation Error 0x8000FFFF Catastrophic Failure every now and then. Do you have any suggestions on how to debug it, and how can I catch the error so when I get this error I can exit it gracefully. I want to set an alert to SMS that the application has gone down, but with the dialog, the program doesn't actually exit until the alert displays and OK is selected. Thanks in advance, Julie. ...Show All
km5gn implementaion of unwinding
I have troubles finding information on this subject, so I'll try to ask here: What kind of unwinding mechanism implementation is used by VC8.0 Is it the same old and slow 'update structure on the stack while we go' (like it was up to VC7.1) Or MS finally decides to go after GCC & others by separating successfull execution path on compile stage (which is significantly more efficient) Bye. Sincerely yours, Michael. ...Show All
Sonic_Molson ATL
Using Visual Studio .Net 2003. I created a DLL ATL Project using the New Proj. Wizard. Noticed that the generated class is declared and defined solely in the .cpp file, i.e. there is no header. Three questions: 1. From this, I gather that the methods of the class are to be implemented in the class itself I like this because I like defining all class functionality in one file. 2. Also, is no header is needed for ATL COM objects because ...Show All
Retrace Members not included
Good morning guys. I've a problem with Visual Studio 2005 and another with Visual Studio 2005 and DirectX9 S.D.K http://img147.imageshack.us/img147/5520/visualstudio1cy.jpg 1. Like you can see into image i've only included iostream. Why then if i click Ctrl + SpaceBar into member list there are Members like LPDIRECT3D, some strange structs... How can i allow to show only members included Why into Visual C++ the DirectX9 SDK, installed with ...Show All
joe joseph Help:Class in header file gets error: C2061
Using: MS Visual C++ 6.0 with Visual Studio Service pack 6. All CLASS declarations in every header file get the C2061: syntax error: identifier ... Code compiles good using gcc. Is there an MS Visual C++ compiler setting needed to correct this problem Hi Gary, Please help me... I'm also getting the same problem and trying to reslove it, but didn't succeed. So I plead you to send me a mail with the sol ...Show All
Sandoc Can I install VC++2005 With VS2003
I cannot upgraded Visual Studio on my box from 2003 until the companies I contract to do. I would like to install VC++ 2005 to work with smart devices. Is this possible Thanks Yes, it's possible, they are isolated. Your 2003 will not be affected (other than 2005 becoming your "just in time" debugger default choice). ...Show All
Tom N A Mixing Windows Forms and Standard Windows API Windows using Messageprocs and HWND
Hi We have a large Windows 32 C application using Platform SDK built with Visual Studio 2003 and standard Windows api and Windows HWND handles etc which we just converted nicely to use /clr under VS 2005 and sure enough IJW works! However whilst we can now add new C++ files with Windows Forms code into the project and it all works well, we have a huge amount of existing code not compiled with /clr (at least not yet) and using Me ...Show All
Sugi Datasets, datarows oh my
Good evening experts: Would you happen to have any online reference material, perhaps an article or coding sample, that provides the general idea of working with datasets in vc++ 2005 I've found numerous examples with 2003, but it appears that the syntax has changed so those examples are working. I like New DataSet Features in Visual Studio 2005 ; but, there's also TableAdapters in Visual Studio 2005 , ...Show All
AndrewAPlus Transfer CString between classes
Hi, I have a MDI application and from the menu I can open a dialog with a edit control and a OK button. When I push the OK button the text in the edit control shall be stored in a variable in my CDocument class. But when the dialog has been closed, the variable that should store the CString is empty. What have I do wrong In the dialog class I have this code: void CMyDlg::OnBnClickedOk() { CString EditCt ...Show All
Dave Gelowitz Active X
Hello, Does anyone know if it is possible to use an ActiveX with an MFC multiple document application. If so does anyone have a good site which would show me the way. I know how to use activeX with the a MFC Dialog Base application. Thanks in advance, maldini Hi Maldini, I found those 2 links but not sure 100% if that is what you need: http://msdn.microsoft.com/library/default.asp url=/workshop/browser/ ...Show All
mdlagdguy Using MFC regular mixed mode dll (/clr) from a managed application with Visual Studio 2005 Beta 2
Hello all, I am having problems using MFC within a managed application in Whidbey. What I try to do is the following: Writing a dll in C++/CLI that uses MFC. In this dll I implement managed wrapper classes around e.g. MFC dialog classes. Using these wrappers I want to display the dialogs in a managed application, written e.g. in C#. This used to work with Visual Studio 2003 and managed extensions for C++ but, but it doesn't with Whidbey. I used ...Show All
