Boost 3D vector
I have declared a 3D vector vector<vector<vector<boost::variant<string, float>>>> masterList; which is going be filled with heterogeneous data (strings & float) is this the...
View ArticleProblem with VS2010 bind template
I am trying to pass the address of a member function to a c program using the "bind" template and the result of compile is a bunch of error in the "xxresult" and "xxbind0" templates, but no indication...
View ArticleHow to get current user group ID
How to get current user group ID using winapi c++ ?I want to determinate if my application is running as administrator.
View Articleerror LNK2019
Hi, can anybody give me some idea what caused belw error. I am sure the function CreateLineSerieand constructor of CChartLineSerie both defined in the appropriete .cpp files. 2>ChartCtrl.obj : error...
View Articledata sort in Visual c++
i write two numbers23and i want sort it in order to , as bigger is first .32how made it ?case...
View ArticleVS 2010 Form Designer error - C++ CodeDOM parser error: - Unknown type...
I am getting following error on loading of Designer form:C++ CodeDOM parser error: Line: 1491, Column: 23 --- Unknown type 'IDisposable'. Please make sure that the assembly that contains this type is...
View Articleadd indent spaces to xml nodes with ms IXMLDOM
Hi All, Currently I was update a xml file with IXMLDOM, after add nodes to xml file, we found the new added node was written in one line always. this make it hard to find the differences with merge...
View ArticleConverting and compiling an vc6.0 with Visual C++ 2008
Hi,after I converted an older VC6.0 code into VC 2008 I get the following compilation error. This error didn't occure in VC6.0:1>c:\Program Files\Microsoft Visual Studio...
View ArticleCannot build topoedit SDK multimedia sample with VS2010 under Win7 x64 or...
Hello,I have tried the past days to develop a media player for an application using Media Foundation. As a start I decided to look at how topoedit is built and extract some things that I need.The...
View ArticleRFX METHODS for integer variables
my actual main consumer has a DB which tables may run in the order of trillions of recordswherefore i need to use for each kind of varible the shortest possible field subject to this query is either...
View ArticleProperty Sheet Manager lost
In the 'Property Sheet Manager'(PSM), by mistake, I deleted the property sheet for the debugger and the release in 32bit compilation, in order to compile in 64bit. Now I would like to go back to 32bit,...
View ArticleExtTextOut, lpDx[0]=1000
Hey all,Can anybody tell me what does it mean - ExtTextOut called with string contained only one space " " and lpDx[0] = 1000?Thanks in advance
View ArticleProblems faced in Windows Forms Applications
i m learning Visual C++ from MVA n http://msdn.microsoft.com/en-us/library/60k1461a(v=vs.100).aspx.. Later on I wil be learning Visual C#.. i already know native c++.. but i m learning C++/CLI...
View Articlezoom event in cdhtmldialog
Hi , i want to get the optical zoom event in my dialog class derived from cdhtmldialog ....i came across IZoomEvents class which has that method....but not able to implement it..how do i implement...
View ArticleMFC Windows7 dpi settings 100%(smaller) issue
I have a client application which is not "DPIaware by default"(i.e. Windows will take care of scaling) ). Now the problem is that if I use smaller DPI settings on Windows 7(64 bit) laptop some...
View ArticleCreate a simple Console Application in Visual C++2010
The program I want to recompile under Visual C++ 2010 Express processes hex records to prep for input to a prom burner. It was written in the mid-90's in visual C 1.52, and is a very simple program...
View ArticleHow do I make an unordered_set of shared pointers?
I am using Visual Studio 2012. When I try this:std::unordered_set<std::shared_ptr<A>> myset;I get this error:error C2338: The C++ Standard doesn't provide a hash for this type.According to...
View ArticleShow Sine Wave in Picture control
I'm going to design MFC dialogue based application,in which I want to show sine wave in picture control at real time with randomly data received from one of the communication interface like...
View ArticleMultiple AudioClients in one WASAPI session
I have two WASAPI programs, one renders and the other captures. They both work perfectly. Now I want the two to work synchronously together. My understanding is that I can accomplish that by running...
View ArticleRegarding CComAutoThreadModule and its advantages over MTA
Hello everyonei was reading about CComAutoThreadModule and thread pool that it creates, i mean what is the advantage of this model over MTA , which also uses thread pool to process each client...
View Article