I\'m writing a little tool in VC++ to record key strokes to replay them later, a macro recorder. It works quite nice already, using a keyboard hook function that reads each and every key press and rel
For example, suppose I\'m editing following text (\\t is for tabs, it\'s not text) \'\\t\\t\\tSome text...\'
I have a a Win32 DLL project in VS2008, it is written in开发者_运维问答 a handful of C modules.
I want to g开发者_JAVA百科et text from current active line (the line where the caret is) from any text editor that is currently in focus. My program that will get that text is working in background an
I know that a 32-bit OS cannot see more than 4 GB of RAM. So if I were to install, say, 6 GB of RAM on a machine running 32-bit OS, is there any way to identify that?
PROBLEM FOUND.I\'m leaving the question here, though, in case others run into the same problem I ran into.
I am programming a DLL. I have to return an instance of TBitmap to the host application. The DLL has another UNIT, wich is a Form, that it has a TImageList for storing images. I wrote a fun开发者_JAVA
In my program I toggle the registry value of hidden files to tell explorer whether to hide or show them.However, since explorer doesn\'t refresh on it\'s own, I send the event
I stitched together from code I found in internet myself WH_KEYBOARD_LL helper class: Put the following code to some of your utils libs, let it be YourUtils.cs:
I created a mutex in one app; the code is: HANDLE global_mutex = CreateMutex(NULL, FALSE, \"mcdonalds\");