Click here to Skip to main content
15,914,222 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: GUI design bug Pin
Graham Bradshaw10-Nov-04 12:06
Graham Bradshaw10-Nov-04 12:06 
GeneralRGB values without using GetPixel and SetPixel Pin
TITOWBASS10-Nov-04 11:04
TITOWBASS10-Nov-04 11:04 
GeneralRe: RGB values without using GetPixel and SetPixel Pin
Christian Graus10-Nov-04 11:23
protectorChristian Graus10-Nov-04 11:23 
GeneralImporting DIalogs Pin
Nitron10-Nov-04 10:48
Nitron10-Nov-04 10:48 
GeneralRe: Importing DIalogs Pin
Yulianto.10-Nov-04 16:10
Yulianto.10-Nov-04 16:10 
GeneralRe: Importing DIalogs Pin
BlackDice11-Nov-04 4:00
BlackDice11-Nov-04 4:00 
GeneralSample of ReadFileEx Pin
Howard789010-Nov-04 10:43
Howard789010-Nov-04 10:43 
QuestionHooking - Client - Server Application Suggestion? Pin
JohnnyG10-Nov-04 9:18
JohnnyG10-Nov-04 9:18 
I've got a friend who I work with who asked me to program an application for his wife who is a teacher. The problem? She teaches a computer course and when she is talking or teaching, the kids are ignoring her and playing on the computer.

She'd like to have an application on her desktop computer that remotely locks/unlocks the keyboard and mouse of all of her students' computers. Of course when the students' computers are locked, a message should be displayed as they type (pound?) on the keyboard or move the mouse.

I figured a couple of hooks (system wide) for mouse and keyboard should do it. I'm new to the subject and have read a couple of the articles here on CodeProject but have some questions. One article said that you shouldn't use MFC and/or C runtime library calls. No problem but I need to communicate to the teacher's computer using Winsock so my question is since, I believe, that Winsock is part of the platform SDK and/or part of the standard Win32 API, can I use Winsock in the global dll implementation? Or, should it be a separate executable that communicates with the DLL via windows messages and relays the commands to the server app (teacher's computer) via Winsock?

Anyone have any suggestions on how I should implement this? I figure the teacher runs an executable on her machine that sends/receives command to the students' (client) computers using Winsock. The students' computers should all run the DLL (should this be a service?) or should I also create an executable for the clients that install the DLL and autoruns as a service?

OT. Why hasn't anyone already built this application and is it worth selling?
GeneralString Replacement Pin
Blake Miller10-Nov-04 8:33
Blake Miller10-Nov-04 8:33 
GeneralRe: String Replacement Pin
John R. Shaw10-Nov-04 8:54
John R. Shaw10-Nov-04 8:54 
Generalsockets question Pin
CherezZaboro10-Nov-04 7:41
CherezZaboro10-Nov-04 7:41 
GeneralRe: sockets question Pin
Nitron10-Nov-04 10:51
Nitron10-Nov-04 10:51 
GeneralRe: sockets question Pin
CherezZaboro10-Nov-04 11:58
CherezZaboro10-Nov-04 11:58 
Generalascii to binary Pin
Anonymous10-Nov-04 7:14
Anonymous10-Nov-04 7:14 
GeneralRe: ascii to binary Pin
David Crow10-Nov-04 7:23
David Crow10-Nov-04 7:23 
GeneralRe: ascii to binary Pin
Anonymous10-Nov-04 7:35
Anonymous10-Nov-04 7:35 
GeneralRe: ascii to binary Pin
David Crow10-Nov-04 7:56
David Crow10-Nov-04 7:56 
GeneralRe: ascii to binary Pin
GDavy10-Nov-04 10:02
GDavy10-Nov-04 10:02 
GeneralRe: ascii to binary Pin
Anonymous10-Nov-04 10:24
Anonymous10-Nov-04 10:24 
GeneralRe: ascii to binary [edited] Pin
PJ Arends10-Nov-04 10:37
professionalPJ Arends10-Nov-04 10:37 
GeneralRe: ascii to binary Pin
Branislav11-Nov-04 1:32
Branislav11-Nov-04 1:32 
GeneralPort modified message Pin
Fernando A. Gomez F.10-Nov-04 5:11
Fernando A. Gomez F.10-Nov-04 5:11 
GeneralRe: Port modified message Pin
bryce10-Nov-04 11:51
bryce10-Nov-04 11:51 
Generalstarting external program, waiting for completion Pin
Steve Kearon10-Nov-04 4:56
Steve Kearon10-Nov-04 4:56 
GeneralRe: starting external program, waiting for completion Pin
David Crow10-Nov-04 5:05
David Crow10-Nov-04 5:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.