image pattern recognition C++
Hi,actually I want to make a c++ sln to recognize images and compare it then identify the closer image and finally, print the result true or false.thanks,swasytec
View ArticleProblem that could not show progress dialog when using SHFileOperation in...
Hello, I encounter a problem that, in Windows 8, it will fail to show progress dialog when call SHFileOperation in my DLL(e.g. My.dll) to copy folder. So what is the reason? It works well in...
View ArticlePrecompile header file problem
I'm struggling to figure the problem. The project was created by other team member. He turn off the precompile header file. When I turn on the precompile header file (/Yu) & update the stdafx.cpp...
View Articleadd line to file
how can I add a line to a text file?I use this code but it deletes existing linesstd::ofstream fs("c:\\k.txt");fopen("c:\k.txt","a");if(!fs) { std::cerr<<"Cannot open the output...
View ArticleHow Do I run my program and get an output in visual c++?
How Do I run my program and get an output in visual c++?
View ArticleEdit Send To Mail Recipient behavior
My default email client is Windows Live Mail. When I right click on a file and selectSend To->Mail Recipient Windows Live Mail New Message Window pops up, file is attached but body and subject are...
View Articlehow can solve this "frame" error?
Fellows, I have write this code, but he does not run, and returns me an error saying "error C2065: 'frame' : undeclared identifier" /**************************INCLUDE*************************/ #include...
View ArticleVariable sized arrays in C++ classes?
The following code compiles in code::blocks (using the gcc compiler) but not in VS-C++. So I conclude that, variable sized arrays in classes are not allowed in VS-C++. Am I right or is there a way to...
View ArticleHow do i make a multidimensional vector where the size can change
Hello I would like to know how to make a multidimensional vector of characters where the dimensions are changeable. I have seen how to do this with regular vectors but not with multidimensional so I...
View ArticleList not sorted well
Hi, Here are the codesstruct nameval { std::string fld_nm; std::wstring fld_nm_uni; int fld_len; float fld_val; }; nameval binrec; bool LessComp(const nameval& a1, const nameval& a2) {...
View ArticleiFileDialog with Filter "*.*" not working properly
I am using the IFileDialog interface (in this case it is a iFileSaveDialog). When using a filter that contains "*.*" to show all files it does not work as I would expect.Here is my simplified...
View Articleldap_bind_s with current user - how to get the dn?
What we want to do is: ldap_bind_s using current user, search from its entry for entries holding some config parametersFor ldap_search_s, we need the base dn - but how to get it, when binding with...
View ArticleExtract helpstring from enum member
I have an enumeration defined in idl:typedef enum { [helpstring("My help string")] MyValue = 231, } MyENUM;The TypeLibarary is included in compiled dll as resource item. I can obtain it at runtime with...
View ArticleHow to add bitmap images to the header and footer of the property pages in...
Hi, I have an application i.e, a property sheet (wizard style).Now I would like to add bitmap to the header as well as for footer too ,why I am mentioning header here is the property sheet is dwFlag is...
View ArticleVisual Studio 2013 (v120) (not installed)
I am using Visual Studio 2013 for Visual C++ apps. When I tried to compile i got error as "Specified Platform Toolset 'v120' is not installed". For resolving I installed Windows Driver Kit 8.1. Still I...
View ArticleRetrieve registry key value, compile error.
Hi, I am trying to retrieve a specific key(i.e. I know the key name) from registry. Firstly I want to see if I can open the key successfully, but I am stuck at compiling(omitting some code). ----1st...
View ArticleFeature Pack - MDI with tab display ActivateFrame problem
I observed something does not behave quite right. I have existing MDI example (with old MDI view). Whenever I called child->ActivateFrame( SW_HIDE ); the MDI will hidden. But, when I change to tab...
View ArticleCEdit control updates only when the mouse leaves the control.
I have a dialog with a CListCtrl on it. The list control is setup in Report mode so I can display a table of information. I want the user to be able to click on a "cell" and edit it. To do that,...
View ArticleVisual Studio 2013 linker never finishes for a large project compiled &...
Hi,I have several pretty big projects, which compile pretty quickly without "linker time code generation", because most of it is actually exact the same (a big common library). With LTGC the common...
View Articlecpps in project rebuilding everytime.
We recently converted a visual c++ solution from vs 2003 to vs 2008 and everytime we change a configuration setting of a project all of the cpps get recompiled. Is this normal or is there a way to...
View Article