Click here to Skip to main content
15,907,183 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionPrint Preview in FormView Pin
Shivarudrayya H26-Dec-07 18:09
Shivarudrayya H26-Dec-07 18:09 
GeneralRe: Print Preview in FormView Pin
wira1guys26-Dec-07 20:29
wira1guys26-Dec-07 20:29 
QuestionRe: Print Preview in FormView Pin
Shivarudrayya H26-Dec-07 20:37
Shivarudrayya H26-Dec-07 20:37 
GeneralRe: Print Preview in FormView Pin
Hamid_RT28-Dec-07 5:06
Hamid_RT28-Dec-07 5:06 
Questionhow to add OnInitDialog in VC8? Pin
hanlei000000000926-Dec-07 15:41
hanlei000000000926-Dec-07 15:41 
AnswerRe: how to add OnInitDialog in VC8? Pin
Sarath C26-Dec-07 16:29
Sarath C26-Dec-07 16:29 
AnswerRe: how to add OnInitDialog in VC8? Pin
David Crow27-Dec-07 4:24
David Crow27-Dec-07 4:24 
GeneralDLL Injection Pin
int01h26-Dec-07 14:11
int01h26-Dec-07 14:11 
Gents,


now a more serious question.

There is a small application i would like to trick, it opens up the log file with CreateFileA and
uses WriteFile from application.dll file to store the data.


I have already injected my dll into the exe file, and i am able to catch and replace the
CreateFileA - so that i am not pointing to create a filename but i wanted to redirect the
WriteFile entries to the named pipe.

Looks good, the pipe is created but no data is being sent out - i believe because WriteFile is invoked not from exe file, but from application.dll.


Is there any chance for me to hook into that WriteFile ?



Ps.
I thought that when CreateFile is pointed to pipe, the WriteFile also will store the data there via the Handle..even if invoked from separate dll.
GeneralRe: DLL Injection Pin
Sarath C26-Dec-07 14:23
Sarath C26-Dec-07 14:23 
GeneralRe: DLL Injection Pin
int01h26-Dec-07 14:30
int01h26-Dec-07 14:30 
GeneralRe: DLL Injection Pin
Naveen26-Dec-07 16:50
Naveen26-Dec-07 16:50 
Questionderiving a non-template class from a template class Pin
Californian226-Dec-07 10:28
Californian226-Dec-07 10:28 
GeneralRe: deriving a non-template class from a template class Pin
CPallini26-Dec-07 11:34
mveCPallini26-Dec-07 11:34 
GeneralRe: deriving a non-template class from a template class Pin
Californian226-Dec-07 12:02
Californian226-Dec-07 12:02 
GeneralRe: deriving a non-template class from a template class Pin
Sarath C26-Dec-07 14:39
Sarath C26-Dec-07 14:39 
GeneralRe: deriving a non-template class from a template class Pin
Californian226-Dec-07 14:50
Californian226-Dec-07 14:50 
GeneralRe: deriving a non-template class from a template class Pin
Sarath C26-Dec-07 15:28
Sarath C26-Dec-07 15:28 
GeneralRe: deriving a non-template class from a template class Pin
Californian226-Dec-07 15:59
Californian226-Dec-07 15:59 
GeneralRe: deriving a non-template class from a template class Pin
Sarath C26-Dec-07 16:04
Sarath C26-Dec-07 16:04 
GeneralRe: deriving a non-template class from a template class Pin
Californian227-Dec-07 8:56
Californian227-Dec-07 8:56 
QuestionRe: deriving a non-template class from a template class Pin
Californian226-Dec-07 14:39
Californian226-Dec-07 14:39 
NewsRe: deriving a non-template class from a template class Pin
Californian227-Dec-07 8:51
Californian227-Dec-07 8:51 
GeneralWNetAddConnection returning 487 Pin
Still learning how to code26-Dec-07 10:20
Still learning how to code26-Dec-07 10:20 
AnswerRe: WNetAddConnection returning 487 Pin
Still learning how to code26-Dec-07 11:53
Still learning how to code26-Dec-07 11:53 
Generala very wierd problem Pin
gizmokaka26-Dec-07 10:14
gizmokaka26-Dec-07 10:14 

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.