GetPrivateProfileString Not working
I am trying to use ini file for configuring my app. But GetPrivateProfileString is not working. I am using Windows 7. I tried "Wow64DisableWow64FsRedirection" also. Not only this-ATLPath::FileExists is...
View ArticleMenubar / Toolbar problem
Hi .. I need to activate and deactivate Menubar and Toolbar time to time. I have written code : CWnd * pFrame = (CWnd *)AfxGetMainWnd(); CMenu * menu = pFrame->GetMenu(); for (int mq = 0;mq <...
View Articleerror C2059: syntax error : '->'
Hi So im a bit lost in my c++ programming. Not the code init self, but a error I keep getting. I dont know why I keep getting -> error? Im using Visual Studio ultimate 2010, and I havnt had any...
View ArticleWaiting with message loop
//I am writing a program to auto login in a web site. Before making next attempt I have to wait for some time like some //10 seconds(it is configurable). But during wating UI should not freeze. I wrote...
View ArticleMulti-dimensional vector ?
I'm converting a program which uses a (stack based) temporary multi-dimensional array. The array size is not known at compile time so the existing code (from Linux) looks like this:- Code: void...
View ArticleDLLS for installation program
I am making an installation program. The set up project I made automatically detected dependancies. Dependencies were one ocx file I am using and some *.msm files. I haven't yet tested the installation...
View ArticleMFC. CListBox. SetScrollPos does not work after ResetContent
Code: int nPos = ListBox.GetScrollPos(SB_VERT); ListBox.ResetContent(); // Fill content // .... ListBox.SetScrollPos(SB_VERT, nPos); ScrollBar rectangle looks good but content...
View Article[RESOLVED] IE WebBrowser not sending some redrawing messages
I have a property sheet view with few property pages. One of this property page contains a HTML representation via a CHtmlView derived class. Initially, the .html file is correctly rendered. The...
View ArticleCross Platform GUI Development
Hello there, I am planning to develop a GUI that will run on Windows, Linux, Android & iOS. If am right, VC++ apps don't work on Linux, Android & iOS. Is that correct? Is there an alternative...
View ArticleBTNexgenIPL v3 anyone have it ?
Hi all... Anyone have version 3.0 of BTNexgenIPL that I could download... Been hard to find it... Thx a lot...
View ArticleGetting Unicode from an API DLL using non Unicode program
I have some code that was compiled without Unicode turned on in the Preprocessor Definitions. I need to access an API that had Unicode turned on in the Preprocessor Definitions (I believe that it is on...
View ArticleUsing CDHtmlDialog
Hello, I am trying to use CDHtmlDialog in a MFC dialog based project. What i want to achieve is pretty sample. Have one image, one button and one text box in the HTML page. And then dynamically change...
View ArticlePrevent executable from running?
Hello, I would like to programmatically monitor a directory for new files, and if the file happens to be an executable, I want to prevent it from running. Something like a AV program. However, I don't...
View ArticleHelp: 2-dimensional array
1. Create one 2-dimensional array. The array will consist of numbers from 1 to 10. And will also contain the number in words. Display the values of the 2-dimensional array. Sample output: 1 One 2 ...
View Articlehow reliable is rand() ?
how reliable is rand() ? I want to make a statistic info gathering program, I want it to run millions (perhaps billions) of random scenario's and record the percentages/averages, yes I know I could do...
View ArticleC++ outlook 2010 sample add-in build issue
Hi all, I am currently trying to follow the article at: http://<br /> http://msdn.microsoft...14).aspx<br /> The sample code for this application is available at: http://<br />...
View Article64-bit calling conventions
I'm aware that Microsoft's 64-bit compilers now have only one calling convention. So __cdecl, __stdcall, __fastcall and (apparently) even __thiscall are now all equivalent. So what happens if I'm...
View ArticleUsing CDHtmlDialog in MFC Dialog
Hello all, I am using CDHtmlDialog to create a simple MFC app. I want my app to do the following things. Load images by using the MFC code to the DHTML page. Change texts in the DHTML page using the...
View ArticleOperation aborted
I know that this issue has nothing to do with programming, but is an codeguru problem: when I try to open an article page, like this one: http://www.codeguru.com/cpp/w-d/doc_...wn-Control.htm I get...
View Articleconvert 8 bytes into double and back?
I have a question. I receive a byte stream. The first 8 bytes contain an Identification number. I receive at first the lowest byte and at the end the highest byte of the number. How can I transform...
View Article