visual-c++-2010 Questions

11

Solved

I've just been beaten (rather hardly) on the head by some non-trivial warning from Visual Studio 2010 (C++). The compilation gave the following output: 1 Debug\is.obj : warning LNK4042: object ...
Ultraconservative asked 12/9, 2010 at 14:24

6

Solved

While I am trying to install vc_redist.x64.exe on Windows 8.1 getting following error: Failed to configure per-machine MSU package.
Epistle asked 21/7, 2015 at 10:31

8

Solved

For a class at the university, the professor has provided us with some skeleton code that we are to modify. When I attempt to compile the code in Visual C++ 2010 Express (x86), I receive the follow...
Archaeopteryx asked 23/1, 2014 at 19:11

3

Does anyone know how to disable code folding in Visual C++ 2010? In the 2008 version I used to disable it by unchecking a certain check box, but this seems to be removed. I tried to get these How...
Praetor asked 25/7, 2011 at 15:22

4

Solved

While evaluating Visual Studio 2010 Beta 2, I see that in the converted directory, my vcproj files became vcxproj files. There are also vcxproj.filter files alongside each project which appear to c...

2

Solved

Since inlined assembly is not supported by VC++ 2010 in 64-bit code, how do I get a pause x86-64 instruction into my code? There does not appear to be an intrinsic for this like there is for many o...
Farra asked 29/4, 2011 at 14:42

4

Building with VS2010, I'm building a lib that causes many of these link errors: error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' Resulting in a sit...
Unboned asked 23/2, 2014 at 16:40

4

I am trying to install the Microsoft Windows SDK for Windows 7 and .NET Framework 4. It fails, complaining about error 5100, as referenced at http://support.microsoft.com/kb/2717426 That link says ...
Rooke asked 1/5, 2013 at 4:10

3

I've read http://msdn.microsoft.com/en-us/library/aa730877%28vs.80%29.aspx but this document was for VS 2005. I stuck on the part 'Importing a .rules File in Visual C++' in the document. It seems t...
Filtration asked 3/5, 2011 at 10:54

1

Solved

Yesterday I was looking at some 32 bit code generated by VC++ 2010 (most probably; don't know about the specific options, sorry) and I was intrigued by a curious recurring detail: in many functions...
Pisolite asked 31/12, 2016 at 15:39

3

Solved

template <typename T> void function(T arg1, T min = std::numeric_limits<T>::min(), T max = std::numeric_limits<T>::max()) { } template <> void function<int>(int ar...

3

Solved

I am trying to convert a static library from VC++2008 to VC++2010, and I get these warnings about TargetPath and TargetName. I have had a look into my configuration and I'm not sure how to make the...
Janson asked 1/6, 2013 at 19:27

3

Solved

When compiling this code: #include <windows.h> int WINAPI WinMain(HINSTANCE hInsance,HINSTANCE hPrevInstance,PSTR cmdLine,int showCmd){ MessageBox(0,"First Win32 Program","Window Tittle",M...
Earthlight asked 30/3, 2011 at 2:58

4

Solved

I often find myself in situations where I would like to indent preprocessor directives like the rest of the code (e.g. #if indented like if). It seems legal, it's common sense that it's sometimes a...

4

I am trying to compile my program but it wouldn't link at all. I have specified the path to the boost lib files and the linker still complain. Here's the linking error I got: 1>Edproj.obj : err...

3

Solved

I have downloaded the latest OpenSSL source package. I want to build it with VC++ 2010 x64. Following the instructions doesn't seem to work. Configure step looks fine, but then: C:\1>ms\do_win64a....
Snowmobile asked 6/10, 2011 at 20:38

4

I have recently converted a mid-sized Visual Studio 2005 solution to Visual Studio 2010. One of the projects contains files which are not C/C++ files and are compiled using a batch file running a c...
Reeba asked 8/10, 2012 at 4:19

4

Solved

I've run into an error when installing the Windows SDK that I've seen posted around the Internet, but none of the solutions are working for me. Here is the log I'm getting 9:43:37 AM Monday, Octob...
Burck asked 14/10, 2013 at 17:45

3

I have this problem in my code: bool CBase::isNumber() { return (id & MID_NUMBER); } bool CBase::isVar() { return (id & MID_VARIABLE); } bool CBase::isSymbol() { return (id & MID_SYM...
Counterforce asked 4/1, 2014 at 10:20

5

Solved

I've successfully installed M$ VC2010 and start writing simple programs using it. I am very annoyed from the #include<stdafx.h>, So is there any way to compile and run programs without it???...
Equilateral asked 26/5, 2010 at 3:31

3

Solved

I have the following code and am expecting the intrinsic version of the exp() function to be used. Unfortunately, it is not in an x64 build, making it slower than a similar Win32 (i.e., 32-bit buil...
Insubordinate asked 10/4, 2012 at 19:51

2

I can't believe I'm having such a hard time figuring out how to do something so simple. I have an external library (including a .lib and .h file) that I want to add to my project. From what I've re...
Scold asked 7/9, 2010 at 23:21

5

Solved

I have a simple (but performance critical) algorithm in C (embedded in C++) to manipulate a data buffer... the algorithm 'naturally' uses 64-bit big-endian register values - and I'd like to optimis...
Contrast asked 22/10, 2011 at 12:38

3

Solved

I have a base class A and derived class B class B is derived from A as public I want to access the member variable's address if A is class a is member variable I am observing different behavio...
Hix asked 18/1, 2013 at 13:53

2

Solved

Given an abstract interface and an implementation derived from that interface, where constructors are protected (creation of these objects only being available from a class factory - to implement a...
Macleod asked 22/8, 2010 at 13:29

© 2022 - 2024 — McMap. All rights reserved.