Click here to Skip to main content
15,900,702 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionDelay in application load time Pin
Vasudevan.S4-Jul-08 8:06
Vasudevan.S4-Jul-08 8:06 
AnswerRe: Delay in application load time Pin
Maximilien4-Jul-08 9:00
Maximilien4-Jul-08 9:00 
GeneralRe: Delay in application load time Pin
Vasudevan.S8-Jul-08 23:24
Vasudevan.S8-Jul-08 23:24 
Questioninjecting my dll Pin
haiimran4-Jul-08 6:34
haiimran4-Jul-08 6:34 
AnswerRe: injecting my dll Pin
CPallini4-Jul-08 6:43
mveCPallini4-Jul-08 6:43 
GeneralRe: injecting my dll Pin
Rajesh R Subramanian7-Jul-08 2:37
professionalRajesh R Subramanian7-Jul-08 2:37 
GeneralRe: injecting my dll Pin
CPallini7-Jul-08 2:54
mveCPallini7-Jul-08 2:54 
QuestionPassing pointer to other process Pin
JMGIC4-Jul-08 5:17
JMGIC4-Jul-08 5:17 
I want to share some data (int var) between two application app0 and app1.

The app0 calls app1 thrugh a CreateProcess, being one of the parameters a string containing the memory address of the data which I want to share (strVar = & var).

However when I assign the addres of var to a new pointer in app1 (int * pvar1), although they point to the same memory address (pvar1 == & var), the variables are not the same (*pvar1 != var). Instead, what I obtain in *pvar1 is a very high number which I assume is an error.

Should this operation work or the fail is what you would expect in this kind of botch?

Thank you and kind regards

JMGIC
AnswerRe: Passing pointer to other process Pin
Chris Losinger4-Jul-08 5:23
professionalChris Losinger4-Jul-08 5:23 
GeneralRe: Passing pointer to other process Pin
JMGIC4-Jul-08 5:26
JMGIC4-Jul-08 5:26 
GeneralRe: Passing pointer to other process Pin
Iain Clarke, Warrior Programmer4-Jul-08 5:38
Iain Clarke, Warrior Programmer4-Jul-08 5:38 
AnswerRe: Passing pointer to other process Pin
Iain Clarke, Warrior Programmer4-Jul-08 5:34
Iain Clarke, Warrior Programmer4-Jul-08 5:34 
GeneralRe: Passing pointer to other process Pin
JMGIC4-Jul-08 5:41
JMGIC4-Jul-08 5:41 
QuestionConverting existing VC++ Applications to be Compatible with Vista Pin
NiceNaidu4-Jul-08 3:30
NiceNaidu4-Jul-08 3:30 
AnswerRe: Converting existing VC++ Applications to be Compatible with Vista Pin
Mark Salsbery4-Jul-08 11:39
Mark Salsbery4-Jul-08 11:39 
GeneralRe: Converting existing VC++ Applications to be Compatible with Vista Pin
NiceNaidu6-Jul-08 4:43
NiceNaidu6-Jul-08 4:43 
QuestionDialogbar shown as modal dialog Pin
ilgale4-Jul-08 3:19
ilgale4-Jul-08 3:19 
QuestionHow can I handle right-click of my application itself ? Pin
SherTeks4-Jul-08 2:10
SherTeks4-Jul-08 2:10 
AnswerRe: How can I handle right-click of my application itself ? Pin
Iain Clarke, Warrior Programmer4-Jul-08 2:25
Iain Clarke, Warrior Programmer4-Jul-08 2:25 
AnswerRe: How can I handle right-click of my application itself ? Pin
Nibu babu thomas4-Jul-08 2:37
Nibu babu thomas4-Jul-08 2:37 
QuestionIncrease number of files that can be opened Pin
Amit4u4-Jul-08 1:41
Amit4u4-Jul-08 1:41 
AnswerRe: Increase number of files that can be opened Pin
vineeshV4-Jul-08 1:57
vineeshV4-Jul-08 1:57 
QuestionRe: Increase number of files that can be opened Pin
CPallini4-Jul-08 2:09
mveCPallini4-Jul-08 2:09 
AnswerRe: Increase number of files that can be opened Pin
vineeshV4-Jul-08 2:46
vineeshV4-Jul-08 2:46 
GeneralRe: Increase number of files that can be opened Pin
CPallini4-Jul-08 2:55
mveCPallini4-Jul-08 2:55 

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.