visual-c++-2008-express

How do I add an ActiveX component to my project in Visual C++ 2008

I am just learning Visual C++ and I am used to Visual Basic where I just select the ActiveX component from a list of references. I can seem to add it anywhere. If I go to the Project | References, it is all blank. It only allows me to specify a path and when I specify the path of the AcitveX component, nothing new happens. I dragged ...

Version resource in DLL not visible with right-click

I'm trying to do something which is very easy to do in the regular MSVC, but not supported easily in VC++ Express. There is no resource editor in VC++ Express. So I added a file named version.rc into my DLL project. The file has the below content, which is compiled by the resource compiler and added to the final DLL. This resource is vi...

Migrating from Visual C++ 6 to Visual C++ 2008 express

Hi, I'm tring to migrate my code from VCpp 6 to VCpp 2008 express but when I build the solution I receive this error message: icl: warning: problem with Microsoft compilation of 'c:\Desenvolvimento\DFF\Base\\version.cpp' 1>C:\Arquivos de programas\Microsoft Visual Studio 9.0\VC\include\string.h(69): error: expected a ";" 1> __DEFINE...

Error C2679 when attempting to use std::wcout << wstring-var; vc++ 2008 express

I'm getting a rather odd error message when attempting to wcout a wstring in vc++ 2008 express: error C2679: binary '<<' : no operator found which takes a right-hand operand of type 'std::wstring' (or there is no acceptable conversion) If I understand this correctly it's reporting that wcout does not accept a wstring? I ask someone...

How do I set the icon for my program in Visual C++ 2008 Express Edition?

I want to set the embedded icon for my executable console program to a custom icon. I know this is pretty much the same question as this one here, but I'm using Visual C++ 2008 Express Edition, and the Resources View is not available (and the Project-context-menu->Add->Resource... is grayed out), so I'm at loss here. Will I have to upgr...

Why can't a "procedure entry point could not be located in dll" when I definitely put it in?

I have a really vague problem, but I hope someone can help with it. I was modifying a C++ project and yesterday it was still working, but today it's not. I'm pretty sure I didn't change anything, but to be completely sure I checked the project out from SVN again and I even reverted to a previous system restore point (because this is a wo...

Add user control in Visual C++ 2008 Express

I can't seem to add a user control from an existing solution I've created in visual C++ 2008 Express. I don't see the option located anywhere. Perhaps I'm looking in the wrong area or it's just not available in the express edition. I've followed the advice described here: http://msdn.microsoft.com/en-us/library/114xc3e5%28VS.80%29.aspx ...

Conditional Debug on Visual C++ 2008 Express

Is there a way to debug code on Visual C++ 2008 Express, such as I can watch a variable for certain value(s) and, when it assumes this value, to break? For instance, I want to break when xbecomes 5. In gdb I would set a breakpoint then a condition that x == 5. How can I do it (if possible) on Visual C++ 2008 Express? ...

Debugging a specific executable on Visual C++ 2008 Express

Visual C++ 2008 has a great tool called "Attach to Process", which start watching a specific process for debugging symbols and handles correctly your breakpoints. This is fantastic, but I would like some more. I would like to attach my debugging session to a executable file, such that when it is executed, debugger takes command. So I wo...

Weird C++ compilation problem under Visual Studio 2008

Hi, There was a program what I could compile under 2008 for a while. Note I can compile the program using cl and in Ultimate++ IDE. It is a fairly large program , so I am not going to post it here. I cannot compile it in Studio. THere error is 1>c:\program files\microsoft visual studio 9.0\vc\include\xstring(1735) : error C2856: #pra...

Numerical precision of double type in Visual C++ 2008 Express debugger

I'm using Visual C++ 2008 Express Edition and when i debug code: double x = 0.2; I see in debugging tooltip on x 0.20000000000000001 but: typedef numeric_limits< double > double_limit; int a = double_limit::digits10 gives me: a = 15 Why results in debugger are longer than normal c++ precision? What is this strange precision base...

Can I program C++/CLI using Visual Studio Express 2008?

Are any of the Visual Studio Express editions able to work with C++/CLI code? Currently when I go to "Add File" in either the C# 2008 or C++ 2008 versions I do not see the option for creating C++/CLI. ...

Side-by-Side Visual Studio installation

Can Visual Studio Professional 2008 and Visual C++ Express 2008 be installed side by side without problems? update I am working in a situation where some of the team has pro, some have express. I have pro (but have not installed C++ Express) and for some reason, the solution doesn't compile for professional (fresh from svn), but it do...

Visual C++ Express 2008 error with MSVCP90D.dll

When i Try to Build My source code ,it says MSVCP90D.dll missing. I'd like to know how to correct this Thanks ...