Windows Programming - November 2011 (Page 4)

Is there any way to disable CTRL+S using ReadConsoleInput()?
 
Hello. I've been working on a console-based game for many years, and I've managed to kill nearly all issues pertaining to input, aside from one: CTRL+S. I us...
[1 reply] : Well... whaddaya know. I managed to find my answer buried in something... (by booksaboutfishing)
by ToniAz
Why do people complain about MFC?
 
Hello Everyone! I'm looking at an HTML parser but it looks like it will be using something called MFC. I googled that out and turns that many people do not f...
[5 replies] Last: @freddie1 I was counting that you'd reply to this, and you did. ... (by ToniAz)
Expose Private Window Handle From Class
 
I am finishing up work on a RenderWindow system for a project I am working on, but sadly have hit some problems. I have an abstracted window creation system ...
[8 replies] Last: What was your solution? (by andywestken)
Creating an array of objects
 
How do I create an array of objects? I have 21 text boxes that need to be filled from 7 class objects. I want to step through the objects in sequence, check t...
[2 replies] Last: to create appropriate cli array try: array<TextBox ^... (by SIK)
by DSTR3A
Remove File By Time
 
I want to remove a new file by time. I have this so far but I am confused about how to add a time constraint to this. Lets make it a file that is 20 seconds or...
[9 replies] Last: trying to subtract time values can be quite tricky and tedious using t... (by SIK)
by huvcbo
throw exception
 
Hello im using Code::Blocks 10.05 GNU GCC Compiler boost 1.44 the problem is that when throw exception my app crash. here is my code /-------------------...
[1 reply] : something doesn't seem right with your line: string s = str(forma... (by SIK)
Display contents of wchar_t variable
 
How can I display the contetns of wctype_t variable inside a VC6 program ? #include <windows.h> #include <wchar.h> int WINAPI WinMain (HINSTANCE hIns...
[4 replies] Last: As EssGeEich said, you need an L But this fixes the case without UNIC... (by andywestken)
by minime
Locating drive letter from physical drive
 
I'm trying to locate all volumes or drive letters on a physical disk. I've read the below article: http://msdn.microsoft.com/en-us/library/cc542456%28VS.85%29...
[1 reply] : Have you tried using GetLogicalDriveStrings (by SIK)
using webcam....
 
i need a way to make a webcam take pictures on command of a c program... --- i'm building a program wich auto takes photos with the webcam and compares them...
[5 replies] Last: thanx for all the answers. i think ill have a look at opencv. (by arijspieter)
Commctrl.h
 
Hello, For some reason Commctrl.h isn't on my computer anymore, it's been there for months and now it's gone o_O So can anyone please post/upload Commctrl.h f...
[2 replies] Last: I second webJose 's idea and I'll add that if you're worried about co... (by Computergeek01)
Typecasting 4 digit integer into a Char.
 
Hey I'm making an antitheft facial recognition software that records everything when an authroized user accesses the computer. I plan to attempt to sell this s...
[7 replies] Last: There is a difference between castings to char and char*. I'm fairly s... (by naraku9333)
Downloading, compiling and installing opencv 2.3 with dev c++??
 
So i downloaded the opencv 2.3 superpack from the official site and extracted all the files. However later on in the install guide it says to download Cmake t...
[9 replies] Last: Ok, did you add cmake to your PATH? If you don't you will continue to ... (by naraku9333)
Access partition table
 
Hi, I need to access the partition table of a disk and I can not find how to do. I would like to list the partitions on that drive both primary and logical. C...
[2 replies] Last: Very thanks for your help!!. I will try with it. Maybe i didn't find r... (by dgsalas)
help me plsss what will be the codes for this??
 
Sample Output Recording System 1) Add 2) View 3) Search 4) Delete 5) Exit All Data Should be stored in a TextFile. Create a Structure with at least 5...
[2 replies] Last: Struct Country { char a ; char b ; char c ; ect. } struct Univ { ... (by new hope)
VC++ 2008 app in another PC
 
I'm trying to run exe which is created with Visual C++ 2008 Express in another PC and I get this message: This application has failed to start because the a...
[5 replies] Last: CodeMonkey has it right. Your compiler defaults to dynamic linking. Yo... (by Lamblion)
how to print something in the header file?
 
hi i'm using codeblocks on XP to write a simple program that checks when the header files get called. So i want to print a simple statement such as "enters blah...
[3 replies] Last: You have to make a function and check every single "include" file if i... (by S G H)
Can you have 2d ortho perspective and 3d perspective both on screen
 
So i was coding up some c++ for a UI and while i could display the UI in a 3d perspective with opengl and just not translate it during movements in the 3d world...
[no replies]
by Wigen
Books for Windows programming
 
Hi all, Can anyone recommend me a good book for learning Windows programming using Visual C++. Thanks in advance.
[6 replies] Last: Wow! Outstanding, modoran! That will save me $$$ for sure... Unless I ... (by Lamblion)
by MarkP
compress and decompress
 
I´ve checked out zlib and a ton of other libraries, mostly based on zlib, but I´m lost. From bugs with password protected files over 32bit only up to requiri...
[3 replies] Last: Oh, cool. I hope you figure it out. (by NanoBytes)
Checking a button's state
 
Hello, I'm doing some owner draw for a button created with the CreateWindow function. In my WM_PAINT message I would like to check for the buttons state (nor...
[6 replies] Last: What I meant with I've done it already was your example. My question w... (by Shatronics)
November 2011 Pages: 1234567
  Archived months: [oct2011] [dec2011]

This is an archived page. To post a new message, go to the current page.