Finding Machine IDs
Is there a way I can extract Machine / Hardware ID and OS Version using VC++?
View Articlequick answer pls
My program works, but when I run the program again it and type new input. The screen also prints the input from the previous iteration. Code: #include <iostream> #include <string> using...
View ArticleHow to delete records in .txt file
So i get the concept of how to do this but i'm just not doing it right. I have to ask the user if they want to delete any records. The user can enter -1 to finish deleting records. I have to write the...
View ArticleTrouble getting C++ program to print list using Iterator and Operator...
Hello All, First time here. I was hoping you could help me with my program. I'm trying to use the given Iterators to overload my = operator to print my list to screen. I keep getting Link2019 errer...
View Articledecrypt exe file maked in Visual C++
Hi! i have an executable that is encrypted; it is made in Visual C++. Can someone to help me to decrypt it? what i must to look for? I have some kind of files (.req extention) that have the content...
View ArticleLCT File To BMP Image
Hi, I have an *.lct file. I like to read *.lct file and save an bmp image. I can not read this file using usual file read. Code: void CLCTtoBMPDlg::OnBnClickedReadlctfile() { CFileException...
View ArticleHelp with a really simple program
This is what i need(I made a short video): http://screencast.com/t/UsPjDW4Y Code: #pragma once namespace FirewareEvolution { using namespace System; using namespace...
View ArticleHelp C programming Homework
please help my homework i just little understand about my homework Create a C program that read two sentence 1.For the second sentence, calculate how many a.Alphabet b.digits c.hexadigit 2.Reverse the...
View Articlestatic class member in multithreaded environment
HI Guys, I have a class having static member.I have get and set methods which will Get and Set Values to this variable. In a multithreaded application does it have any thread safety issues. Class a {...
View Articlehelp with classes pls
Can someone send me a tutorial where I can learn about classes, objects and constructors? The professor will talk about about these topics this upcoming week but I just want to learn this now :) In...
View ArticleGetting Free Disk Space of certain directory
Code: _int64 free_space_64bit; PULARGE_INTEGER lpFreeBytesAvailable, lpTotalNumberOfBytes,lpTotalNumberOfFreeBytes; //char currentPath[MAX_PATH]; //GetCurrentDirectoryA(MAX_PATH, currentPath);...
View ArticleHow to tell if Windows partition is active?
My goal is to know if Windows is installed on an active disk partition. Any ideas?
View ArticleDbstatus_e_cantcreate
Please go through the following code. I am using OLEDB Cunsumer Templates. I am getting DBSTATUS_E_CANTCREATE for the status of picture field. Looks like OLEDB Provider is incapable of giving 2...
View ArticleC++ circular buffer
I'm having some issues with my code. For the produce function i am getting an error saying 'no instance of overload function produce() matches the argument list' and also for the lines...
View ArticleClass of String Collections
Is it legal in VC++ to create a class composed only of string colections. If it is how can I create it in VC++ and add it to my project? It has great value if it can be done
View ArticleChange text and bkg color of CComboBox
I have a derived CComboBox class, where I tried to change text and background of edit from CComboBox, just like this: Code: HBRUSH CMyComboBox::OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor) {...
View ArticleWinInet, accesing HTTPS server with optional certificate
I'm trying to use WinInet (via the MFC wrappers) to read pages off a HTTPS server that is set to accept but not require certificates. It either authorizes via a certificate or uses basic user/password...
View ArticleHelp: Release build hangs during linking
It compiles fine but hangs during linking. The last message I got is Code generation. Sometime when I cancel it, I got LNK1257 code generation failed Can anyone advise on what can be possible reasons...
View ArticleHow long is your build?
Developers are spending more and more time of their days compiling. How long is your build?
View ArticleCode works only on computer, when it was compiled
Hello. For some reason this code dont work on other computers, but work on computer, where it was compiled. Any idea why? Code: #include <windows.h> int WINAPI DllThread() { for...
View Article