Click here to Skip to main content
16,007,111 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Process handling Pin
mark novak10-Apr-05 3:57
mark novak10-Apr-05 3:57 
GeneralRe: Process handling Pin
mpapeo10-Apr-05 6:05
mpapeo10-Apr-05 6:05 
GeneralCollect rows from an external SQL Server from my MFC-app Pin
anderslundsgard8-Apr-05 10:15
anderslundsgard8-Apr-05 10:15 
GeneralCString to Integer Pin
Anonymous8-Apr-05 9:29
Anonymous8-Apr-05 9:29 
GeneralRe: CString to Integer Pin
Chris Losinger8-Apr-05 9:41
professionalChris Losinger8-Apr-05 9:41 
GeneralRe: CString to Integer Pin
Joel Holdsworth8-Apr-05 11:57
Joel Holdsworth8-Apr-05 11:57 
GeneralRe: CString to Integer Pin
deldeep9-Apr-05 2:52
deldeep9-Apr-05 2:52 
Generalhelp with shering a file in a DLL Pin
Member 18672758-Apr-05 8:45
Member 18672758-Apr-05 8:45 
hey everyone
i have this project i need to do that uses setwindowshookex to set a message hook on a given process ID and for each keydown that that screen gets i replace the key with the char from a given text file
so like
the procces ID is notepad and the file is Omri.txt witch has
"Hello World" in it
so if i type in notepad "asdasdasd" it will type "Hello Wor"
anyway, thats the project
so what i did is make a DLL with the functions
open file
close file
get char
set hook
unhook
and getkeys
getkeys is the function windows calles when a key is pressed

so my problem is, when windows calles the function it cant access the opened file becuse it gets a difrent data field
i tryed puting the fstream var in shared memory but it didnt help
anyone here got any idea on how i shold do this?

If You Can't Beat Omri, Join Omri.
Four out of Five Dentists Recommend Omri.
Plop, Plop, Fizz, Fizz, Oh, What an Omri it is!
Silly Rabbit, Omri is for Kids.
Gee, Your Omri Smells Terrific.
The Coolest Omri on Ice.
At 29p an Omri, It's Not a Stress on Your Pocket.
Every Kiss Begins With Omri.
I am Stuck on Omri, 'Cause Omri's Stuck on Me.
Doing It Right Before Your Omri.
GeneralIE address update Pin
nmhuy8-Apr-05 8:31
nmhuy8-Apr-05 8:31 
GeneralRe: IE address update Pin
ThatsAlok8-Apr-05 18:45
ThatsAlok8-Apr-05 18:45 
GeneralRe: IE address update Pin
nmhuy9-Apr-05 6:53
nmhuy9-Apr-05 6:53 
Generalsize of file Pin
smarty128-Apr-05 8:26
smarty128-Apr-05 8:26 
GeneralRe: size of file Pin
David Crow8-Apr-05 8:56
David Crow8-Apr-05 8:56 
GeneralRe: size of file Pin
smarty129-Apr-05 7:06
smarty129-Apr-05 7:06 
GeneralRe: size of file Pin
Alexander M.,9-Apr-05 7:49
Alexander M.,9-Apr-05 7:49 
GeneralRe: size of file Pin
David Crow9-Apr-05 12:11
David Crow9-Apr-05 12:11 
GeneralBinary Resource Data Pin
#realJSOP8-Apr-05 5:47
professional#realJSOP8-Apr-05 5:47 
GeneralRe: Binary Resource Data Pin
David Crow8-Apr-05 6:07
David Crow8-Apr-05 6:07 
GeneralRe: Binary Resource Data Pin
#realJSOP8-Apr-05 6:24
professional#realJSOP8-Apr-05 6:24 
GeneralRe: Binary Resource Data Pin
Ravi Bhavnani8-Apr-05 7:52
professionalRavi Bhavnani8-Apr-05 7:52 
GeneralRe: Binary Resource Data Pin
David Crow8-Apr-05 7:54
David Crow8-Apr-05 7:54 
GeneralRe: Binary Resource Data Pin
Ravi Bhavnani8-Apr-05 7:59
professionalRavi Bhavnani8-Apr-05 7:59 
GeneralSplitter Window get/pass information Pin
poiut8-Apr-05 5:33
poiut8-Apr-05 5:33 
GeneralRe: Splitter Window get/pass information Pin
RobJones8-Apr-05 18:27
RobJones8-Apr-05 18:27 
QuestionHow to use non .NET DLLs in .NET environment? Pin
Khang Nguyen8-Apr-05 5:30
Khang Nguyen8-Apr-05 5:30 

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.