Questions tagged [visual-c++-2010]
The version of Visual C++ bundled with Visual Studio 2010, released in April 2010. Also known as VC++10, or VC10, based on C++ compiler version 16.0. Do not use this tag unless you have a specific question about this specific version.
364
questions
0
votes
1
answer
162
views
How do i take User Input from Keyboard in Visual C++ 2010?
I am using Visual C++ 2010 to make my very first project - A Calculator(Following an online tutorial).
Now, the calculator is done and functioning, however, the only way to input the numbers is by ...
0
votes
0
answers
430
views
Microsoft Visual C++ required ERROR: Failed building wheel for jep
As others have encountered, I am getting an error trying to install jep. However, I do have Microsoft Visual C++ installed but I'm not sure if I have all of the correct components. I have reviewed the ...
0
votes
1
answer
341
views
How to get Visual c++ to open d3dx.h
Recently I have picked up a book on Game Programming using Visual C++. It uses the the DirectX library, and says that I only need to write #include and #pragma comment(lib, "d3dx9.lib") into the code....
0
votes
1
answer
134
views
MFC How to close a modeless dialog when switching views
I have a view that contains a modeless dialog.
Everything works fine except interacting with the dialog sends a message to modify objects on current active view. It causes crush when i switching to ...
0
votes
1
answer
84
views
Application ends before displaying final output
I am doing a console application for training.
When I debug the code below, it closes itself before displaying
std::cout << e << std::endl;
If I moved the integer e and its ...
0
votes
0
answers
49
views
Creating 64 bit application with VC++ 2010
I am trying to create a 64 bit application that will run on Windows Server (I am testing with Windows Server 2008 R2 64 bit). My development environment is Visual C++ 2010 on Windows 7 64 bit. Right ...
1
vote
0
answers
120
views
how to install conda install scikits.talkbox package in Python 3.6
I am trying to install scikits.talkbox but in command prompt It is giving me error messages (error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools")
0
votes
1
answer
355
views
Get the size of public key using WinHttpQueryOption
I need to find the Public key specified in certificate details. I have used WinHttpQuery option and provided WINHTTP_OPTION_SERVER_CERT_CONTEXT as the option flag.
bRet = WinHttpQueryOption(
hRequest,...
0
votes
2
answers
207
views
Can I uninstall All other MS Visual C++ Except the latest version?
I've checked my installed programs in windows 7 machine. In it there are several copies of Microsoft Visual C++ were installed. I know they provide support files for various programs and softwares I'...
0
votes
0
answers
136
views
Pop up window to enter user input from windows service when localhost(localhost://1110/PostData) REST calls(POSTMAN, ARC)
I have a requirement, when localhost call like [localhost://1110/PostData] to windows service., User Input box has to popup from windows service and need to take the input from there. Currently I have ...
0
votes
1
answer
237
views
igakit windows 10 64bit installation (with python 2.7) error lnk2019
I'm trying to install igakit python extension as part of installing all required dependencies for sfepy package as mentioned in their installation guide page http://sfepy.org/doc-devel/installation....
0
votes
0
answers
57
views
Acrobat launch error after installing my software
I have been working on an MFC project recently. I generated it's installer using Deployment Project from Visual Studio 2010. The problem that I am facing is that when I install my software on a ...
1
vote
0
answers
298
views
volatile pointer to volatile data
I am trying to evaluate different version of my program to see how fast they are. I found out a weird thing in Visual Studio 2010 (using windows 10). I have not tried it yet on different compilers or ...
0
votes
1
answer
24
views
visual studio exp2010 Win32 release build has different integer size when compiled on 64 bit machine
When I compile my project on Win7 64 bit platform in Debug mode I get the expected 32 bit integers. Something happens when compiling in Release mode where the integers become 64 bit. It mainly affects ...
-1
votes
2
answers
996
views
How can I use python in visual C++
I write some of my code in python.
And write now I need to import it into the visual C++ 2010. I can't find any solution for this kind of problem.
The possible solution maybe convert python code into ...
0
votes
1
answer
128
views
propagate define to another sourcefile or set compiler flag in targetlink
I have the following problem:
As part of our (proprietary) test environment, we use C to map the developed C-Code to simulink/targetlink so we can compile it as a S-Function. The whole thing is ...
2
votes
0
answers
97
views
Do I need to include library dependencies again in my project for the .libs which are already included in the library I am statically linking with
I have a library file : Accept.lib,
This file has two library dependencies:
AcceptSalary.lib and
AcceptDesignation.lib.
I have one exe project:
AcceptAndDisplay.exe,
where I want to ...
1
vote
0
answers
190
views
C++ code to parse an XML file and extract data from it
I want to write a C++ code to parse an XML file and extract data from it.
However, I'm an absolute beginner so I just searched Google.
Most people seem to refer an "Xerces" library to do this job, ...
1
vote
1
answer
295
views
Get Visual Studio 2010 c++ toolset for Win XP v100_xp
Can't find tool set for Win XP for my Visual Studio 2010. Is it still available to download? Where I can get it?
2
votes
1
answer
967
views
Save project property setting in VisualStudio C++
I want to know is there any way to save the project property and automatically implement (make it default) for all the new projects. Like i want to disable Precompiled header & Linker ...
7
votes
1
answer
199
views
Why does VC++ 2010 often use ebx as a "zero register"?
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, ...
3
votes
1
answer
2k
views
CMFCListCtrl force selected item to have red color
I have my own CMFCListCtrl derived class where I implemented the
virtual COLORREF OnGetCellTextColor(int nRow, int nColum)
{
CMyClass* pMyClass = (CMyClass*)GetItemData(nRow);
if (pMyClass &...
1
vote
0
answers
653
views
Received Event from customer with Fault Offset. Using map file and cod files to find the exact location of crash
Having recently released a product, I encourage customers, if they experience a crash, to send me the corresponding entry from the Event Viewer.
This provides me an error type and a fault offset.
I ...
0
votes
1
answer
45
views
Output time is incorrect than the infile itself
I'm creating template vector to read my infile txt (courseofsale.txt) and output it by csv file (output.csv). Everything is correct but the timing is wrong in highest price and lowest price.
The ...
0
votes
0
answers
42
views
No able to reinitialize the WCHAR[] array once it gets the initialized
While(1)
{
WCHAR wcImageName[80];
if ( pxmlNameTag->GetData(wcImageName, wcslen(wcImageName)) )
{
if ( !wcscmp(wcImageName, String2) )
{
Printf("String matched");
...
-2
votes
1
answer
142
views
Does C++ STL or TR1(not boost::tr1) work only on Windows?
I was thinking STL was a standard implementation, though TR1 may not be. But does the platform matter? I was thinking it would work on Windows/Linux/Unix/Mac. I have people saying it wont work on ...
1
vote
0
answers
695
views
SSL socket in visual c++ 2010
I have a simple socket server written in c++ 10.0 and I need it to use SSL.
After dig into this for awhile, I was not able to find a solution.
My server now looks like this:
int connect_socket(int ...
-3
votes
1
answer
926
views
Saturn Rings - OpenGL - C++ - Visual Studio 2010
I have implemented Saturn Rings using OpenGL/C++. However, the rings doesn't look impressive as it is built using a normal texture. However, I am seeking for real views and scenes. I would like to ...
0
votes
1
answer
45
views
c++ program not launching any browser on 64bit machine
I am writing a code which launches browser on click of a button but during launch of Internet Explorer or be it any browser the application hangs producing the window attached with this message.IE ...
-4
votes
1
answer
52
views
Can I have appearance of MS VC++ 2010 in newer versions of visual studio?
I need to use c++11 features, but MS VC++ 2010 is supporting only part of them.
I can't use newer version of MS visual studio, because of it appearance.
MENU TEXT WITH CAPSLOCK, full of unnecessary ...
3
votes
2
answers
2k
views
template <class T>: error: 'T' does not name a type
I'm trying to compile some code that compile fine in Arduino IDE, in Visual Studio with support for Arduino (Visual Micro). This is the code with problems:
template <class T> int ...
0
votes
0
answers
63
views
Create a application to use with UltraVNC SC
I'm trying to create this application on Visual Studio 2010 using Forms with ComboBox
http://pastebin.com/bV7SF3ni
How you can see in this code all forms is fine but i'm don't know how put option in ...
1
vote
0
answers
27
views
How to handle Configure file Windows-8
i have a configure file named "Example.CFG" in which arguments for main function are mentioned. When i run the code in visual studio 2013, it runs successfully, but configuration file does not supply ...
2
votes
6
answers
1k
views
Improving computation speed for sine/cosine and large arrays
for signal processing I need to compute relatively large C arrays as shown in the code part below. This is working fine so far, unfortunately, the implementation is slow. The size of "calibdata" is ...
1
vote
1
answer
310
views
Mfc feature pack CMFCOutlookBar not showing
I'm developing a SDI project with MFC 2010 using the 'new' MFC feature pack to add some stuffs.
The template added me the Calendar bar and Tree bar, pretty unuseful to my application. I removed some ...
2
votes
2
answers
953
views
C2440 error when using typecasting operator overload with Visual Studio 10
I'm hitting a C2440 error:
C:\code>cl test.cpp /EHsc
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 16.00.40219.01 for 80x86
Copyright (C) ...
0
votes
3
answers
88
views
C won't execute
I seem unable to run any C programs. I have tried Visual C, MinGW and Cygwin. When I try to start the program the terminal freezes, this happens for all 3 environments (except for visual studios which ...
-7
votes
3
answers
143
views
C++ Error I need help please?
I have done a code which has to be written a mathemathical function and then give the images. First, introduces the function as a string variable, but I don't know how to convert it in another type of ...
0
votes
1
answer
185
views
MFC Visual c++ Persist the size of docking panes on close and reopen?
Hi I would like to know the methods in which dockable pane sizes in MFC can be persisted over sessions?
Like the class to use or documentation relating to that will be helpful.
-1
votes
1
answer
255
views
Variable Types compatible with glGetFloatv
What variable types are compatible with opengl's glGetFloat() or glGetFloatv()?
P.S. This is in c++.
-3
votes
1
answer
82
views
How to fix this sorting?
Use a Knuth-optimized quicksort where the quicksort operates on all partitions > k elements. The array is partially sorted in this way, and then a single insertion sort is called to polish the ...
0
votes
1
answer
858
views
Passing parameter(s) to function(s) withing different project files in C++
I just am getting confused about passing the parameter to function in C++ over different projects.
I have two different solutions, of which one is a DLL project and another is Console project. Within ...
2
votes
0
answers
1k
views
Windows - Unable to find WMI WiFi_AdapterAssociationInfo class
I am trying to execute the example at https://theroadtodelphi.wordpress.com/2011/10/15/all-about-wifi-networks-and-wifi-adapters-using-the-wmi-and-delphi/ in visual C++, wherein:
the WMI class ...
0
votes
2
answers
72
views
Could I import a QT .pro file in visual C++ 2010
I have a QT 4.5.1 project configuration file like this
DEFINES += WIN32
OBJECTS_DIR = ../tmp
QMAKE_LFLAGS += -static-libgcc
LIBS += $(GDIR)/win-mingw/bin/...
23
votes
6
answers
132k
views
while installing vc_redist.x64.exe, getting error "Failed to configure per-machine MSU package."
While I am trying to install vc_redist.x64.exe on Windows 8.1
getting following error:
Failed to configure per-machine MSU package.
-1
votes
1
answer
406
views
Installing Pandas using Pip on Windows 8.1 with Python 3.4
I'm trying to install Pandas on my machine using Pip after downloading the necessary .whl file off of Pandas website. I'm running into the problem that Visual C++ 10.0 is required and that it was ...
3
votes
1
answer
229
views
Console prompt window appear on system("start dir") but not on system("start ipconfig")
I try to create a simple UI which runs a command prompt in the background (but the windows console must not disappear) while clicking on each button, resp.
But before, I try something like system("...
-1
votes
1
answer
299
views
creation of priority queue - c++ [closed]
I want to create a general priority queue. yes I know this can be achieved with STL but I still don't have full understand of it and this is why I want to build one myself.
When I say general I mean ...
0
votes
1
answer
1k
views
Accessing a Combobox inside a dataGridView Column?
I'm working on a scheduling program, and inside the dataGridView, we have a few ComboBox Columns that are populated by 3 entries upon creation, but I wanted to be able to add more as the user creates ...
0
votes
2
answers
2k
views
Wix Toolset install C++ 2010 Redistributable
Can I integrate installation of Microsoft Visual C ++ 2010 redistributable together with my installation package through the Wix Toolset?
I tried this with a custom action, but it does not install if ...