Microsoft Visual C++ is a C and C++ compiler for Windows. The most recent version of the compiler is Visual C++ 2012, which is available in both commercial editions and in a free Express Edition. The compiler supports the following languages: C: Only the C90 standard is supported; there is ...

learn more… | top users | synonyms (5)

0
votes
0answers
15 views

How to cast from virtual abstract class

Having this class definition class CefBrowser : public virtual CefBase { How to cast from CefBrwoser * to CefBase * and reverse? assuming that both are not instanciable, they are loaded from C to ...
0
votes
0answers
15 views

Doublebyte encodings on MSVC (std::codecvt): Lead bytes not recognized

I want to convert a string encoded in a doublebyte code page into an UTF-16 string using std::codecvt<wchar_t, char, std::mbstate_t>::in() on the Microsoft standard library implementation ...
1
vote
0answers
15 views

How to develop a live updater for my software in Visual Studio C++?

Currently I am using WinSparkle to check update for the new version. But Now I want to have my updater like the attached image? Almost, all voip softwares have this kind of updater that download the ...
-1
votes
0answers
9 views

Background subtraction fails

I am working on a motion detection of a train moving in a track; I am using opencv BackgroundSubtractorMOG2 operator for detecting motion; after running the build continuously for one hour there is no ...
-1
votes
0answers
10 views

compile errors for vector class

Help; this is the question i meant to ask the other day. i am writing a cpp based on a header file and I keep getting compile errors. Any ideas? The program i wrote is the top.cpp file. Also, any ...
0
votes
1answer
13 views

Copying charts Visual Studio (c++)

What is the easiest way to copy System::Windows::Forms::DataVisualization::Charting::Chart^ to the clipboard? Thanks a lot.
0
votes
2answers
8 views

C++/CLI Wrapper DLL TypeLoadException too many fields

I have native (unmanaged) C++ DLLs that are being wrapped by a single C++/CLI dll (linking through the .lib files). These unmanaged C++ DLLs have quite a few classes with a ton of methods and a ton ...
-1
votes
0answers
53 views

How to convert Unicode code to simple char? [duplicate]

I have integer value that contains the code of unicode symbol. I need to convert this code to char. For example: convert 97 to 'a';
0
votes
0answers
10 views

I want to locate a small lookup table in the same 4k segment as the code that uses it

Can someone who knows, confirm if I am doing this right? Using MSVC 2010 or above, I want to locate a table in the same 4k segment as the code that uses it. Suppose I write a high performance ...
0
votes
0answers
13 views

Can't get pixel data from dicom using gdcm

I need some help with gdcm. I've been trying to get the pixel data from DICOM file for a few days. There are lot's of ways how to do it... I decided to use gdcm. I download their libraries and try to ...
0
votes
1answer
19 views

Array of vtk type refuses to hold contents in C++

I'm using C++ to use vtk and when I hardcode vertices, my program works fine. However, when I try to implement a for loop (to hold x-many vertices), the whole program crashes. Here's the code I'm ...
-1
votes
0answers
7 views

Usage restriction by time period and number of computers for Visual C executable file

We have a product that is basically an old C console application. It is now compiled using Microsoft Visual Studio. We would like to protect it by the time period and number of computers to use or ...
0
votes
1answer
15 views

Post a text request in Casablanca (C++ REST SDK)

I am writing a client side code in Visual C++ 2012 using C++ Rest SDK (codename "Casablanca"). I have a client created and wish to POST a text string to the server. However, when I send the following ...
0
votes
1answer
11 views

Windows: track memory usage and limit threads

I am writing a Windows based application that uses the OpenCV library for image processing. This is a multi-threaded application and each thread loads an image and processes it. My problem is that ...
0
votes
2answers
65 views

There are universal solutions in different C++-compilers to catch the exception type divide by zero, seg-fault?

Are there universal solutions to catch exceptions such as divide by zero, segmentation fault, etc. in compilers MSVC, GCC, Clang or universal wrapper for them, may be in "boost" library? Surely must ...

1 2 3 4 5 940
15 30 50 per page