Answer Questions
skeize Where is the context menu to add class member variables/functions?
I have installed Visual C++ 2005 Express version. I tried using the class wizard to create a new member variable by opening class view and right clicking on the class, but Add Function and Add Variable are missing from the context menu. Is this something not included in the express version or is there a configuration setting that needs to be set These features are not available in Express, as we package ...Show All
Rambozo CTreeCtrl trouble
I have run into problems with a CTreeCtrl in my application. When I delete all the items in the control using DeleteAllItems(...) or DeleteItem(...), and then add new items, the new items do not display correctly. I found old references to this bug (2000, etc.) but expect someone has corrected this or can provide a better workaround than those suggested outside this forum. Thanks. -b Microsoft Visual ...Show All
Sangeetha Edward internal compiler error
Hi all, I get a nice error when compiling our project: ------ Build started: Project: LineControlServer, Configuration: ReleaseU Win32 ------ Compiling... WhisperModeMapper.cpp .\WhisperModeMapper.cpp(8) : error C2471: cannot update program database ' ' .\WhisperModeMapper.cpp(8) : error C2471: cannot update program database 'm:\committed_v4.1_net_migration\siplace_pro_linecontrol\linecontrolserver\releaseu\vc80.pdb' m:\committed_v4. ...Show All
Dylan Lingelbach MSFT Link Error /w VS05 b2 (managed C++)
. Here's what you need to do from the IDE. Take Project Settings - Linker - Input, and set "Ignore all default libraries" to "No". You might also need to remove $(NoInherit) from "Additional dependencies". Now, you should be able to link your projects properly. Alexandrei wrote: How do you change the options of the Linker I am using Visual Studio .NET 2005. I am having ...Show All
Yoway Buorn 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 Not a problem - I actually thought you were using C++. What are you using It's mentioned in th ...Show All
Guido79 VC2005 %50 Slower then VC2003
I just migrated a graphics application from VC2003 to VC2005. After building it, I ran a small benchmark & found that VC2005 code was about %50 slower. The Application does a great deal of floating point and integer calculations. It also converts doubles to int quite a bit (the VC2003 version used SSE to handle this). The VC2003 version used /G7 and /Ow (which are not available in VC2005) Compiler Switches Used: (vc2003)/arch ...Show All
Ahmad Jalal Error:LNK2019
When I _com_util::ConvertStringToBSTR in the program.I get this error Error 1 error LNK2019: unresolved external symbol "wchar_t * __stdcall _com_util::ConvertStringToBSTR(char const *)" ( ConvertStringToBSTR@_com_util@@YGPA_WPBD@Z ) referenced in function _wmain How could I solve it Thanks OK, I get it i do not include comsuppw.lib ,then I include it ,works fine ...Show All
Carl Brochu AES Implementation C++ --please help
Hi All, I need to encrypt images using the Rijndael 128 Bit encryption method. For that I have to make two dll files, one does the encryption and one does the decryption.I have taken the example code is given in the following URL http://www.codeproject.com/cpp/aes.asp. I separated it into two projects, one for encryption and other for dcryption. But it doesn't seem to work. here are the code snippets: Encryption Code ...Show All
Luigi Conti Floating Point Addition Problem
I have a sticky and weird problem. I have two C++ programs running under Visual Studio 2003. One program works correctly, the other has problems adding two double values. Take the following 3 simple test lines. double dTest1 = 0.00061234567890; double dTest2 = 3359.01234567890; double dTest3 = dTest1 + dTest2; Program that works, dTest3 = 3359.0129580245789 Program that doesn't work, dTest3 = 3359.0129394531250 Notes: 1 - The program that doesn' ...Show All
ILoveMFC Cannot set VC++ Directories in the Options dialog of Visual C++ Express Edition
Details : The VC++ Directories page on the Options dialog does not have a list box for viewing and modifying the directories used during a build. Consequently, it is not possible to modify the build directories using the IDE UI. Workaround : C++ Directories can be added, removed or changed by modifying the VCProjectEngine.dll.express.config file located in the .\vc\vcpackages subdirectory of the Visual C++ Express Edition install locati ...Show All
SimonY CEdit fails to set text on out-of-proc edit control
I have an application that allows client software to create a dialog box in the application. The application returns the handle to the created dialog to the client. I am running the client out-of-proc. The client is able to initialize all the dialog box controls except for the edit controls. For some reason, when calling the SetWindowText message, the text never makes it into the edit control field. If I later call GetWindowText, the CEdit do ...Show All
Scott Michael How to import the kernel.dll?
I have generated a Form using File->New->Project in vc++2005 express edition. Now I want to read a ini file. via searching internet, I found I would need WritePrivateProfileString() function, and also need to import kernel.dll, but i don't know how to change my code. I need your help, thanks a lot. http://www.pinvoke.net/search.aspx search=WritePrivateProfileString&namespace=[All ] is how you'd d ...Show All
Ashutosh Kumar Srivastava timer is not panctual
hi! i have a problem with timer because it is not panctual :S i have set interval to 10ms. that is the code in timer_tick ---------------------------------------------------------------------------------------------- private : System::Void CelotenCas_Tick(System::Object^ sender, System::EventArgs^ e) { this ->PreverjanjeZacetka->Stop(); &nb ...Show All
west coaster How do you install CRT, ATL80.dll, MFC80u.dll applocal?
When we look at other installation options than side-by-side installations, we consider "applocal" installations. Unfortunately we cannot use side-by-side installation since it prevents “Per User” installations in Windows Installer. (See http://lab.msdn.microsoft.com/productfeedback/viewfeedback.aspx feedbackid=552c704c-75ba-4cb1-8bf3-0c1d6d50d5a2 ) A drawback with applocal installations is that fixes issued by Microsoft to components su ...Show All
ProgrammingQuestion .
. . Rob: in the .NET world there is not a 1-1 mapping between assemblies and namespaces: in fact there is a many-many mapping. An assembly can contain many namespaces and a namespace can be spread over many assemblies. A good model here is the Base Class Library that ships with the CLR. You have mscorlib.dll - this is assembly that contains all the common types: System::Object, ...Show All
