I have a Gigabyte K8VT800 motherboard that has worked fine for a couple years. Just recently it shut off while I was using it and when I powered it back on it turned off again in about 10 seconds and smoke came out of the power supply. I got another power supply and plugged it all in, but the...
How do class objects access each other's functions and members in c++? I have all the classes I need, but I'm still wondering what the "standard" way of having them communicate and interact is.
I have a problem with my pagefiles. My computer is constantly complaining of low disk space on drive C, but every time I free space it fills it up with an ever-growing pagefile. I have 2 gigabytes of RAM memory and only a third is used. I tried setting the pagefile to my other hard drive and...
Hello, I have a question on click testing objects on the screen. The way I have been doing it is to have an entry in a RECT array for every object, then on WM_LBUTTONDOWN I use a loop of PtInRect to see if the user clicked on an object. I was just wondering if there is a more clever way of doing...
My question is one concerning memory allocation in C++
Say you declared a variable -
int p = 5;
The compiler allocates bytes in memory for data type integer; but does it automatically free that memory after the program is done, or do you have to use the new and delete operators for every...
For an unknown reason, I cannot sign into my email or any other site that requires a login, but I can still surf the web fine. When I try to sign in on IE, it says this page cannot be displayed. On Mozilla Firefox, it says that the "connection was refused". I have checked my internet settings...
I have a dialog box in Visual C++ 6 that I need to have a certain font on. So I go to the dialog editor, create a static text box on my dialog, and set the TrueType font I want to use in the dialog properties. Everything looks okay in the editor, but when I build and run the program it just...
I was listening to music in Media Player when my computer completely froze and would only respond to the reset switch. Well when I reset my computer, I took a look in the folder I was playing the music from - "Downloads", and there were some files and folders with strange names and random sizes...
I was trying to install a brand new copy of Windows XP on my computer that used to have windows 98 on it. When I first popped the CD in, the only option it gave me was to have a new installation (no upgrade). So I did that but it always eventually wound up at a screen with a blinking caret but...
I would like to have the text of an Edit Box on a dialog that pops up to be set at that time. However, my code seems to be useless. It compiles with no errors or warnings but doesn't do anything. Here is my code:
// Mesage handler for New File box.
LRESULT CALLBACK NewFileDialog(HWND hDlg...
I have a windows GUI program where you press a button, and it executes a looping code until you close it. However, there is no way for the user to close the win32 application (besides shutting it down in the windows task manager) because the interface goes white and does not respond. Is there a...
I'm making a program that can find a certain color of pixel in an image. I have two "for" loops, for rows and columns, and I use GetPixel to get the pixel color. However, on large images this can be quite slow. Is there any better way?
I just installed Red Hat Linux on a new harddrive. The problem is when linux boots up past the boot loader my monitor goes wacky and says "Invalid Sync.". The same thing happens when I boot up from the linux CD and try to use the graphical setup (I was forced to use the text setup to install). I...
I just purchased a new monitor. It seemed to work fine at first (or I didn't notice the problem at first), but now the screen's brightness is flickering between bright and normal, and the picture grows and shrinks a little bit randomly. Also there are barely noticeable, thin lines about an inch...
On Windows XP Home, I keep getting extraordinary popup windows from the start bar saying that I have corrupt files. One pattern I've noticed is that it says media player is corrupt every time I open it. I have run the chkdisc utility, but the problem persists. Help?
How I would go about connecting to a designated ip address with a specified port and sending a single custom TCP packet to that ip address. By custom I mean I get to choose what goes into the packet. I would appreciate any help, even a starting point on how to go about this would be great...
I recently bought (not pirated) my own copy of Windows XP. I updated my old windows 98 to XP. The problem is, when I try to activate it with the product key that came with the package, it says "incorrect product key". I tried it again and again and made sure I had it right. I can't...
When I try to search for a document using the windows XP search function (the one with the little animated dog), it gives the error: "The Indexing Service query cannot be completed successfully because the volumes you specified are not indexed". Does anyone have a suggestion on how to...
Sometimes when I try to go to a webpage, it will partially load, then change to a blank white screen and sit there forever. The status bar says done, but it's just a blank white screen. It doesn't give any errors or warnings, and I can read the title of the webpage, just not the page itself. I...
Whenever I open a folder on my computer, I get a runtime error 13, type mismatch. The folder still opens after I click the ok button. Does anyone know what's wrong?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.