Windows Programming - December 2014 (Page 4)

Open File With...
 
You know how (In Windows at least) one can right click on a file and say open file with... and then ...
[2 replies] Last: And how would one implement this (by closed account 2hfG1hU5)
Simple Tic Tac Toe Game
 
Hey guys, I'm trying to make a simple Winform tic tac toe game. I have all buttons to react to a but...
[no replies]
A Problem with test scripting.
 
I have a project I have had to do for class. I have to run 7 test scripts through the project to see...
[no replies]
multiple errors, but the code is same as books
 
Mine is: //Game Lobby //Simulates a game lobby where players wait #include <iostream> #incl...
[5 replies] Last: EDIT: I kept putting commas in the wrong places i.e ostream&, os which... (by NewCComer)
by sambos
Functions with bool parameter
 
Hi, I have this function: String^ Column0(string pathname){ String^ str1; ifstream fin(pa...
[1 reply] : Ha! Nevermind. I solved it... Well this code works anyway: String^ ... (by sambos)
Advanced classes error
 
So I'm doing a tutorial on advanced classed and dynmaic memory, I wrote the code down and all I get ...
[2 replies] Last: EDIT: Fixed was error in book. (by NewCComer)
Display Driver crashes when drawing a triangle?
 
I tried reading directxtutorials.com today, and when I did the "Drawing a Triangle" tutorial. Unfort...
[6 replies] Last: I... I got it. You have no idea how much pride and sense of accomplish... (by AceDawg45)
by myName
How to use MySQL without the dll “libmysql.dll”
 
I created a software in C ++ and using MySQL, after the end I hoped to use it without the needed of ...
[4 replies] Last: Do you know how to compile using Dev C++? Can you give me the package ... (by myName)
by jdmic
constructor initialization list
 
Hi, I'm working on a context menu shell extension and I get an error with this data members... ...
[no replies]
by sambos
For - help.
 
Hi people. I have this bit of code: String^ folder = "C:\\"; array<String^>^ file = Directory::Ge...
[1 reply] : Ok, I've answered the first question... Line 4 needs to be replaced b... (by sambos)
File Data Extraction Help
 
I have the following data in a text file that I need to input into a program. The program needs to o...
[no replies]
by sambos
Filenames stored as strings
 
Hi people. I'm using windows forms to write a program and need some direction if someone is willi...
[1 reply] : After a couple of days of searching, I think that using an array / vec... (by sambos)
[Win32 API] Drawing screen to client area & draw something on screen
 
so I have this code to draw screen to client area every 100ms HDC hDC = GetDC(hWnd); Se...
[no replies]
Why does EnumDisplayDevices not output the monitor name?
 
The if statement prints out "Monitor Name: " but then blank where the name should be. So it appears ...
[no replies]
by Erhy
Shell_NotifyIcon - how to implement timeout
 
Hello! Normally if I click on an icon in the notification are. The window for the notification clo...
[no replies]
i want to make a program in c++ that automatically copy files to usb
 
hello friends, i want to make a program in C++, that i can install in my flash drive. only thing tha...
[1 reply] : Do you have anything so far? The code is as simple as "FindFirstFile()... (by Computergeek01)
[C++11 - win32] - about WM_MENUCOMMAND message
 
if: wParam: The zero-based index of the item selected. lParam: A handle to the menu for the item...
[2 replies] Last: thanks for all. you have right. but i was doing more errors too: case... (by Cambalinho)
Using OLE instead of the standard message loop.
 
I have recently been forced to learn - mainly copy-and-paste type learning! - a little OLE and windo...
[7 replies] Last: This works for x64 (the ones above do too)... //cl main.cpp /O1 /Os... (by freddie1)
by Erhy
how to initialize one char as TCHAR
 
hello, I'm confused about characters if TCHAR x = 'ä'; //ae umlaut in German the result x is...
[3 replies] Last: If you use the L your char will always be wide, thus rendering TCHAR()... (by Jaybob66)
Compiler says "error: assignment of read-only location"
 
I have made a program that uses 3 classes that each do a specific task. The base class is used to de...
[2 replies] Last: looks like you need to guard your headers.... #ifndef FILEFILER_CLA... (by Jaybob66)
December 2014 Pages: 12345
  Archived months: [nov2014] [jan2015]

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