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

C / C++ / MFC

 
QuestionHow to find if two region (made by CRgn) have intersection or not? Pin
A&Ms19-Feb-09 12:06
A&Ms19-Feb-09 12:06 
AnswerRe: How to find if two region (made by CRgn) have intersection or not? Pin
Stuart Dootson19-Feb-09 12:09
professionalStuart Dootson19-Feb-09 12:09 
GeneralRe: How to find if two region (made by CRgn) have intersection or not? Pin
A&Ms25-Feb-09 21:33
A&Ms25-Feb-09 21:33 
QuestionWebcam and Line tracking Pin
sebogawa19-Feb-09 11:51
sebogawa19-Feb-09 11:51 
AnswerRe: Webcam and Line tracking Pin
Stuart Dootson19-Feb-09 12:06
professionalStuart Dootson19-Feb-09 12:06 
QuestionHow To Execute Raw Binary From Within A Binary Pin
V3RO19-Feb-09 11:04
V3RO19-Feb-09 11:04 
GeneralRe: How To Execute Raw Binary From Within A Binary Pin
Luc Pattyn19-Feb-09 11:39
sitebuilderLuc Pattyn19-Feb-09 11:39 
AnswerRe: How To Execute Raw Binary From Within A Binary Pin
Stuart Dootson19-Feb-09 12:00
professionalStuart Dootson19-Feb-09 12:00 
That's very likely not going to work. Executables rely on the OS loader to a) load the executables at a specific address (40000 hex), b) load DLLs and perform relocations on them, c) make data available at specific addresses. You could try to perform functionality equivalent to the OS loader, but I don't think it would work.

One approach that would involve a lot of work, but could well work, would be to implement a virtual process within the host process, a bit like how software like VMWare lets you run an OS on a virtual machine.

The first thing to do is get a very good understanding of the Windows OS loader and the PE executable format. This Wndows internals book[^] is an excellent place to start.

This article[^] is a good description of what's contained in a PE executable file, which shows you what the OS loader has to deal with when loading an executable.

Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

AnswerRe: How To Execute Raw Binary From Within A Binary Pin
Rick York19-Feb-09 12:51
mveRick York19-Feb-09 12:51 
GeneralRe: How To Execute Raw Binary From Within A Binary Pin
V3RO19-Feb-09 13:30
V3RO19-Feb-09 13:30 
QuestionPlease please help with this simple Q from a C++ newbie Pin
meixiang619-Feb-09 10:11
meixiang619-Feb-09 10:11 
AnswerRe: Please please help with this simple Q from a C++ newbie Pin
Stuart Dootson19-Feb-09 10:35
professionalStuart Dootson19-Feb-09 10:35 
GeneralRe: Please please help with this simple Q from a C++ newbie Pin
meixiang619-Feb-09 10:53
meixiang619-Feb-09 10:53 
GeneralRe: Please please help with this simple Q from a C++ newbie Pin
Stuart Dootson19-Feb-09 11:42
professionalStuart Dootson19-Feb-09 11:42 
GeneralRe: Please please help with this simple Q from a C++ newbie Pin
meixiang619-Feb-09 12:00
meixiang619-Feb-09 12:00 
GeneralRe: Please please help with this simple Q from a C++ newbie Pin
Stuart Dootson19-Feb-09 12:17
professionalStuart Dootson19-Feb-09 12:17 
GeneralRe: Please please help with this simple Q from a C++ newbie [modified] Pin
meixiang619-Feb-09 14:39
meixiang619-Feb-09 14:39 
GeneralRe: Please please help with this simple Q from a C++ newbie Pin
David Crow19-Feb-09 17:08
David Crow19-Feb-09 17:08 
GeneralRe: Please please help with this simple Q from a C++ newbie Pin
Stuart Dootson19-Feb-09 21:43
professionalStuart Dootson19-Feb-09 21:43 
Questionurgent : I need help Pin
D_Isaac19-Feb-09 9:38
D_Isaac19-Feb-09 9:38 
AnswerRe: urgent : I need help Pin
CPallini19-Feb-09 11:01
mveCPallini19-Feb-09 11:01 
GeneralRe: urgent : I need help Pin
Luc Pattyn19-Feb-09 11:41
sitebuilderLuc Pattyn19-Feb-09 11:41 
GeneralRe: urgent : I need help Pin
led mike19-Feb-09 11:44
led mike19-Feb-09 11:44 
GeneralRe: urgent : I need help Pin
Luc Pattyn19-Feb-09 11:54
sitebuilderLuc Pattyn19-Feb-09 11:54 
GeneralRe: urgent : I need help Pin
led mike19-Feb-09 11:56
led mike19-Feb-09 11:56 

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.