Finding size of a database field
I am writing in C++ using Visual Studio 2015. The program question takes data from a user and stores parts of his input as text fields in an Access database. I want to know the capacity of the database...
View Articlewhat programming language using to develop the game?
Hello. Please, sorry my english! I have a question. But in the beginning of my experience in programming. Due to the study of programming takes not much time as we would like. In 2012, I began to learn...
View ArticleProblem with WINVER compiler constants
Hi, I try to compile a code (with Visual Studio 2015 and Windows 10) so it can run on Windows XP SP3 or +. I have declared the following constants on top of my source files : Code: #include...
View ArticleNested Loops Help
I have a c++ Project I need help with, please note that we have not gone into arrays or the advanced stuff. Here are the instructions: This project uses nested loops. - the outer loop processes...
View ArticleSSDP Discovery not working SOAP uPnp
Hey Gurus, I'm trying to write a routine to discover my Belkin Wemo devices in my house (light switches) using uPNP SSDP. Here is my routine: Code: char *searchIGDevice = "M-SEARCH *...
View ArticleWhats wrong with my calculation?
Below is the current prompt for this assignment. I'm able to build the program and run it without any errors. I did however in fact find an error in my calculation for growingRatio[i]. With the sample...
View ArticleDeclare dynamic length array
Hello, I have the following declaration: Code: char name[name_size + 1] = {'\0'}; sprintf(name, "Auto_%s_Workflow", typeName); So I have a variable 'typeName' and a variable 'name'. The varaibale...
View ArticleI have developed a number of 32bit applications in Microsoft Visual Studio...
I have developed a number of 32bit applications in Microsoft Visual Studio 2010 (C++). All the apps work fine until I install 3rd party software or USB memory stick drivers . I then get an error...
View ArticleExtreme beginner, struggling project
Hey guys, I'm still very new to c++ so when receiving this project, I was pretty lost, the lab we did seem simple, but when he assign this project, i had no idea how to start. I understand the basic of...
View ArticleCompare 2 std::string in c++ virtual studio 2015
Hey, I'm trying to compare a std::string with a string out of an array. Somehow it doesn't work. The User types in a word in the main method and it gets delivered to my search method as keyword. in the...
View ArticleDisabling Windows Update programmatically
If you're building something like a multimedia app, is there a way for it to temporarily disable Windows Updates (which can be quite processor hungry). i.e. the app could disable updates if it needed...
View ArticleDefined as a length of 1 to avoid compiler warning
Hi all, the subject is a cryptic (for me) comment found in a MS struct declaration that can be found in winbio_ioctl.h: Code: // The WINBIO_DATA structure associates a length, in // bytes, with an...
View Article[RESOLVED] Defined as a length of 1 to avoid compiler warning
Hi all, the subject is a cryptic (for me) comment found in a MS struct declaration that can be found in winbio_ioctl.h: Code: // The WINBIO_DATA structure associates a length, in // bytes, with an...
View ArticleC++ Programming Help
Please im a begginer in C++ programming and i need help with 2 programs. If you can, help me please. Thanks. The next flowchart requests an integer greater than 1 as input and factorises it into a...
View ArticleVisual Studio Community Edition
I installed Visual Studio Community 2015 (about 5 or 6 months ago). I haven't used it for about a month but today it keeps giving me this error message at startup:- Quote: We were unable to...
View ArticleHow to access kernel from user processes?
Code: BOOL CALLBACK EnumWindowsProc( HWND hwnd, LPARAM lParam ) { if (hwnd == (HWND)lParam) { printf("Found Virtual Desktop Window\n"); CHAR explorer_path[MAX_PATH];...
View ArticleTop-level window frozen in a short period of time?
Code: #include <Windows.h> #include <tchar.h> #include <iostream> #include <sstream> #include <stdio.h> #include "atlbase.h" using namespace std; #define...
View ArticleSave data in .txt file in visual c++
Hi guys! I'm new in programming and I have create a dialog box to insert data( e.g resistivity, permeability, conductors etc.). How can I save these data in .txt file using visual c++ (when I press the...
View ArticleHow to force the "primary" shell to die last when logging off windows?
I have created a hacked version of explorer when runs side by side with the main shell in the first Virtual Desktop, where the secondary shell runs in the other. The problem I am encountering is when...
View ArticleProblem when save data in .txt file Visual C++
Hi guys! I have a project and I have created a dialog box in which I insert data. I tried to save those data in .txt file but when I open the txt I see only symbols and not the values I inserted. Could...
View Article