Windows 8 title bars inconsistent in embedded dialogs
I have an SDI app created with VC2012. Main view is a CFormView and it's the parent to four embedded dialogs. All four dialogs have title bars. On three of them, the title bars looks as I'd expect....
View ArticleHow to detect the multicast group address?
I have a problem with UDP Multicast. I managed to send UDP Multicast telegrams and receive them. But when I receive the telegram I need to find out to which multicast group address it was sent. So far...
View Articleneed help with calculations but it wont complie and giving me errors
ok i have correct and update my code and it does work with no errors expect it doesnt do calculations and bubblesort with employees last name // here is the txt file// Code: 40.0Â 10.00 A1234 Jane...
View ArticleHelp implementing real time graph with c code.
Hi, I'm an electrical engineering student and have basic knowledge of programming. I was assigned a project to implement a real time graph to an application which continuously outputs data numerically...
View ArticleCStatic control flicker only when running with Windows Classic theme
I'm dealing with a very weird visual bug. Let me explain. I have a C++/MFC application that displays a count in a window: The count (text) is displayed via a `CStatic` control. The mechanism is very...
View ArticleWM_Input runtime crash
I am a novice programmer trying to create the following application: 1. Can just be a simple CLI program. 2. Gets mouse input from WM_Input, not for buttons just whatever the mouse sends for...
View ArticleMoment when all interactive user accounts have been logged out
I'm writing a Windows service using WinAPIs and C++. One of the options is that I need to send the system into sleep after all users are logged out. The log-out command is started from the UI (which...
View ArticleAnyone with Xamarin development in VS ?
I constantly receive notices via web and email about the wonders of Xamarin and how it allows users to develop Android and iPhone apps using C# and Visual Studio. I finally installed Xamarin on my VS...
View ArticleBinary Search tree
I am unable to implement the insert function properly,every time i run the program i just get the first value and name,i am not getting other Id's and name.Please help!Thanks Code: "(Header File)"...
View ArticleAuto. start function after cdialog was shown?
Hello, I want to start a time intensiv function after showing a modal cdialog. How can I do this? Starting the function in OnInitDialog do not work because the dialog is not shown, then. Any ideas? tx...
View ArticleHow to get country from webpage
Hi! Well I need to get the country automatically from code to show in my app. Well, I found this page: http://api.hostip.info/country.php which gives to you the country code like I need. But I don´t...
View ArticleLinked List - Random Nodes
I am currently working on a code using Linked List. I would like my code to do the following: 1. User Enter integers between 1-60 (first List) 2. The application to check for all the repeated entries,...
View ArticleChange http request server response?? proxy?
Is there anyway to make when browser request some file from server than browser to load another file. example: i open http://www.example.com so now the browser send http request to load image...
View ArticleVideo player in visual C++
I have a code which is a set of rgb frames to be displayed at 25 fps to make it look like a video. While I createWindow invalidate and update it based on a timer, the video plays fine, but the buttons...
View ArticleData Structures
If i want to learn Data Structures where is the best place to start. I have very basic knowledge on the topic. I am very interested in the following Linked Lists, Stacks, Queues, Trees and Heaps. I...
View ArticleCDHtmlDialog : JavaScript calling C++ Functions
Hello there, I am developing an app with CDHtmlDialog that will have a user interface developed in HTML and JavaScript (JS) and CSS. I am able to make calls from my C++ code to JS. But not sure how i...
View ArticleStrange problem!!
I use the function: pdc->LPtoHIMETRIC(&size); where pdc is a CDC object : pdc = pView->GetDC() During a long time this function returns the correct values, but now when my routines call that...
View ArticleDestroying an CArray of Cobject derived classes.
I use a CArray<CClase1,CClase1> m_Clases1. CClase1 is derived of CObject. " class CClase1 : public CObject" When, at last I do : "m_Clases1.RemoveAll()" , I supose that the CClase1 destructor is...
View ArticleApp won't run on Windows 8.1
I've been told one of our apps just crashes on 8.1, but works on everything else. Another gives the error "The procedure entry point CoInternetSetFeatureEnabled could not be located in the dynamic link...
View ArticleLarge Factorials
If i m writing a code for a program to solve factorials, what is the best approach if i have large numbers in mind? If i use int, i can only go upto 4bytes and if i use double i can go upto 8bytes. so...
View Article