Procedure to Compare 2 Strings with the following criteria
Procedure to Compare 2 Strings with the following criteria Hi everyone - I hope your day is going great. Can someone please kindly help me with the coding of the following function - I have absolutely...
View ArticleLNK1120 error - VS2012 project using a VS2010 DLL
I have a third party DLL compiled with vc10 (VS2010). It exports the following function: Code: bool myDLL_EXPORTS_API myFunction(std::vector<int>::const_iterator c) { return true; } My...
View ArticleCString replace? index of?
Is there a function that can take out part of the string such as, C:/Users I want to take out Users. I need the function to search for the first "/" and take out the last dir name C:/windows would be...
View ArticleFile association with Excel problem
Hi, in my application i can a export Data as an Excel-XML File, but first i need to check: -Is Excel installed, and get a path for it -make File association *XML-File with Excel My try: i use a...
View ArticleADO Connection problem in C++ Builder
Hi my friends.I try to connect my application in C++ builder 6 from my home pc by ADOConnection string, to a database in MSSQL Server installed on my work pc that has a static IP(Public IP). I already...
View ArticleProblem accessing user directory in Win 7 Pro
I have been using the code below to extract the current user directory in order to read and write to certain files, presumeably independent of whether or not the user has administrative privileges....
View ArticleKitchens In Gillingham
Kitchens In Gillingham Try looking at www.kitchendesign1.co.uk. They have some amazing designs and prices. Kitchens In Gillingham Kitchens In Gillingham
View ArticleCListCtrl Multiple selections
hello How do you select multiple folders and upload them. Search recursively? I cant find any code or examples.
View ArticleRepaint on CDockablePane Resizing
I have a tabbed CDockablePane with 3 Panes in total lets say Pane1 is main pain and Pane2 and Pane3 are added to the Main pain with AttachToTabWnd. In each pain I have 1 control but I will also...
View ArticleCacheing MFC menues
I have an VS 2010 VC++ project. I have changed a few things in the .rc file but the changes are not appearing when I debug the program. I have taken the .exe to another computer and the changes appear....
View ArticleCan I Study C++ to Learn C?
I have to know C for a non-programming job interview--not expert level, but enough to look at code and know what's going on. I've studied C++ but it's been a while and I'm rusty, so I need to study....
View Articleloop error in c++
i , I am trying to create a loop to call in the entries from the text file named Set. The entries of Set.txtare : 1 2 3 2 4 5 and so on .. (64 such combinations)[/CODE] it basically means the first...
View ArticleUnixTimestamp to time
I have the following code that takes a unix time stamp into a date. Code: #include "stdafx.h" #include <stdio.h> #include <stdlib.h> #include <time.h> #include <conio.h> //e.g....
View Articleselecting from a group in c++
Hi, I have N vectors which look like this: [1→m] [m+1→2m] [2m+1→3m] [3m+1→4m] [4m+1→5m]..... [{(N-1)m}+1→Nm] I want to select 1 element from each vector without duplication of any combinations....
View ArticleUnderstanding Synchronization in detail in MFC.?
Hi, I want to understand synchronization objects in MFC in detail. if anybody know about any good book / tutorial, please send me the link for the same. I want to understand Mutex / Semaphores / Events...
View ArticleMigration of Print Preview code from VC++ 6.0 to VC++ 2008
Hi, I am migrating my project from VC++ 6.0 to VC++ 2008.I have been successful in doing so until now,where I am stuck up with Priint Preview part of the project.I have googled for this, and made some...
View ArticleNumerous problems when application is started using "Open with"
When the file that my application saves is opened using right-click/Open with, there are many mysterious problems: 1) AfxMessageBox will not work (based on a small sample) from anywhere in the program....
View ArticleHave you build a Windows Phone 8 or Windows 8 app yet?
Have you build a Windows Phone 8 or Windows 8 app yet? We are considering a program on the site that would promote (at a minimum list) apps built by our members (you). I'm wondering if there are a few...
View ArticleCFormView as Main View
Is it possible to use a CFormView as the main view without using document support. IE pointing CWinApps m_pMainWnd to the CFrameWnd derived MainFrame and attaching the CFormView from there. It does not...
View ArticleCButton surrounded with a red line
Hi all i am trying to do a button with red line around it, i don't know exactly how do it. i am understanding i need to take the DC with GetDC and i have to use a pen, but i cannot see any red line....
View Article