Windows Programming - April 2016 (Page 2)

WriteFile() fails with error ERROR_INVALID_HANDLE
 
I want to save an array of two ints into a file. The code below is supposed to create a file named "...
[4 replies] Last: Thanks to both Necip and Thomas1965. I have solved the problem. Turns ... (by Tyler T)
compiler can't be found
 
Hello everybody I am struggling to implement my code on code::blocks IDE there an exception "can't f...
[1 reply] : So set the compiler toolchain path. If you don't know what you are do... (by freddie1)
Help for CLR->Windows form App in C++ windows visual studio 2008
 
Hi, so I've currently trying to make a project where I can open an other windows form application fr...
[3 replies] Last: I assume you have a main form with a menu or is it just a button? Anyw... (by Thomas1965)
by Hex213
Publisher
 
Hi, can I add a publisher to the table when start my program ?
[no replies]
How can you create a loop for a game in Win32 API?
 
The question is shown in the title. I recently used CreateTimerQueueTimer() to create a loop for a...
[4 replies] Last: Thank you very much Thomas! I tried double buffing and now the flicker... (by Tyler T)
Visual Studio 6.0, C/C++ Build errors
 
Hello, I am using Visual Studio 6.0, SP6 for this project on a Windows 7 Ultimate Dell desktop PC...
[2 replies] Last: you can download vs2005 2008 or other by search msdn itellyou, then r... (by nchxiaowei)
Strange behavior of TextOut() Win32 API C++
 
I'm making a very simple game using C++ and Win32 API. I'm still new to the API. When I'm constructi...
[5 replies] Last: @Hydranix, the idea of TCHAR is that you can use use the code either ... (by Thomas1965)
How to make a function for keystrokes
 
I have the following code, all I am trying to do is to pass down a keystroke to this function so tha...
[2 replies] Last: Please use code tags. http://www.cplusplus.com/articles/jEywvCM9/ ... (by integralfx)
How do I change Win32 C style to C++?
 
I have tried following a few tutorials but they are outdated and throw errors. How would I change my...
[2 replies] Last: Thank you, must have been a copy error somewhere which didn't throw an... (by Jack Hammered)
Chess program with unknown error
 
Hi everyone I was making a chess program, and it keeps giving me this weird error that I'm not sure ...
[1 reply] : That error is going to happen with every derived class, you are not in... (by closed account E0p9LyTq)
Counting Numbers of Symbols in a line
 
I want to count the number of characters written in each line and then display the number. Would app...
[1 reply] : use a map to solve this problem! map<char,int> m; for (int i=0;i<cou... (by closed account 48bpfSEw)
looking for help
 
Problem: Write a program that uses a recursive function to return the number of occurrences of the d...
[1 reply] : if (index >= b.length()) (by closed account 48bpfSEw)
How to copy an array to vector
 
I need to copy the contents of 3d array to vector _declspec(dllexport) void CallBrownianManagedAd...
[no replies]
using a backbuffer but still getting flicker
 
hello everyone, i'm hoping someone can help me with this problem. i'm attempting to draw in a window...
[16 replies] Last: finally got time to try a few things. silly me had SRCAND in the orig ... (by turnbui)
GPA program
 
hey is there anyone able to help me? I'm to write a program that would use a student id number, name...
[2 replies] Last: Here are a lot of examples in many programming languages. search your ... (by closed account 48bpfSEw)
how can call the message loop in a diferent way?
 
windows program is like: //Message Loop WPARAM MessageLoop() { MSG msgEvents; while(...
[5 replies] Last: you have right freddie. so what i did: - instead add all code on main... (by Cambalinho)
Does CListCtrl display only filled rows?
 
Is the default behaviour for CListCtrl to only show the number of rows that are currently filled wit...
[no replies]
so... is visual studio 2015 community edition almost like the full edition?
 
I thought id downloaded a new version of express (limited in many ways like plug ins, etc) but then ...
[no replies]
win32 - how change window icon?
 
i'm trying changind the window icon without sucess :( HICON hWindowIcon=NULL; void SetIco...
[7 replies] Last: my objective is create a class for change that :( on rc file we use a ... (by Cambalinho)
CListCtrl disappears after minimising
 
Let me say at outset that I'm using old technology by today's standards! This happens in MFC on Visu...
[7 replies] Last: Glad to hear that it works now. Another way to fix the headers is to c... (by Thomas1965)
April 2016 Pages: 1234
  Archived months: [mar2016] [may2016]

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