Problem Reading/Writing Registry in Windows 7?
This may be in the wrong forum but here goes. I have a 32-bit application that I've been maintaining for about 12 years and it runs on every Windows platform up to Windows 7. In all that time I've...
View ArticleHelp with a program to resize an image
Hi Everyone, I am currently working on problem set 4 for Harvards online CS50 course. I am working on a program that resizes a bmp image by a factor of N. N in entered along with an in-file and...
View ArticleHow to change color of MS windows button control?
Hi, I am writing a GUI application with the help of C++ Visual component Librariries and Win32API under windows OS. As part of this app, I have to change color of the MS Windows button control...
View ArticleWhere is '$OutDir' defined in the script in Visual Studio?
I have combined couple of projects into one solution. These projects are converted into VS2010 from older version. The problem is that I want all the projects to spit out the exectuables/dlls into the...
View ArticleI need help compiling this code.
I have never tried programming, and I'm suing Visual Studio 2010. I get these errors: This is the code: // feditspawn.cpp : Defines the entry point for the console application. // #include "stdafx.h"...
View ArticleExtracting Stuff from an IHTMLDocument2 in C++ ?
Hi guys, I got as far as getting a web page into an IHTMLDocument2 but I don't know what to do from there, all the examples I found are C# or .NET or something else I don't understand. Will someone...
View ArticleDarkGDK Sprite Trouble
I am currently trying to modify a game I have done in a class by changing the sprites an variable names. That all went well but the trouble is that one of the elements of the game stopped working. The...
View Articleif any1 know how to convert this c++ code into assembly please do help...
for (a=0; a<=y; a++) for (b=0; b<=y/2; b++) for (c=0; c<=y/3; c++) if ((a + 2*b + 3*c) == y) count++;
View ArticleMDI forms (VS GUI)
Hi folks. Does anyone know of any tools to convert the VS Interface back to an MDI environment as it used to be in VS2005? There used to be an add on for 2010 I used, but I can't find anything for...
View Article(Unusual) unresolved external
I'm getting some unresolved externals while linking a C++ project. They all look something like this:- Quote: glibmm-vc80-d-2_4.exp : error LNK2001: unresolved external symbol "public: struct...
View ArticleProblem with large pointer array
Hello, I am working on a program which creates a large pointer array of numbers and then performs several iterations of operations in them. Code: int * u = new int[N]; double * nu = new double[N]; int...
View ArticleArray of bytes to string
Using a table with the 256 bytes as strings, said table is used as a reference in the 2 functions of this code. Functions who make the conversion such as the title establishes, and in the inverse way...
View ArticleError in TAppEncoder(error RC2135)
What I want to know why this error message? error RC2135: file not found: D:\HM-9.0-dev\build\\vc8\Win32\Debug\TAppEncoder\TAppEncoder.exe.embed.manifest This error occurs when I do build tappencoder...
View ArticleProgramming Debugging help....
I have been on this program pretty much the whole day started it from scratch now i am stuck getting "Unhandled exception at 0x7531812f in testingCodes.exe: Microsoft C++ exception: std::bad_alloc at...
View ArticleDetour Trampoline help
Hello there.. IM having a problem with detours automatically calling "int WINAPI my_send". I need to be able to call this from my GUI, That i call externally from the WINAPI MainThread. IM new to c++...
View ArticleUnique random numbers in an array
Below is my code for a program that is suppose to generate and display six unique random numbers (between 1 and 54). The issue seems to be in my check for duplicates. I know what I am doing wrong but...
View ArticleCan't Stop Thread
Hi guys, I can't stop my thread: Code: void MyClass:start() DWORD dwThread; thread_flag=1; hThread=CreateThread(NULL,0,startThread,(LPVOID)this,0,&dwThread); } DWORD WINAPI...
View ArticleQuick question about string concatentation
What is the efficiency of the two assignments (line 1 and 2), i.e. (function calls, number of copies made, etc), also the Big O notation. I know there are function calls for retrieving the size of each...
View ArticleI need advice on how to convert MFC dependent source to non-MFC
Hello to anyone who reads this! IDE = Visual Studio 2008 Express I am a novice programmer(still...) , and I am trying to build the Code Project project located at this address:...
View Articlevisual basic information
please my visual basic friends, am not good at programming am a starter help me so that i can become good at programming
View Article