Click here to Skip to main content
15,888,100 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to access application's extern variable inside a dll Pin
rahul.kulshreshtha15-Dec-11 19:57
rahul.kulshreshtha15-Dec-11 19:57 
AnswerRe: How to access application's extern variable inside a dll Pin
CPallini15-Dec-11 21:32
mveCPallini15-Dec-11 21:32 
GeneralRe: How to access application's extern variable inside a dll Pin
rahul.kulshreshtha16-Dec-11 3:51
rahul.kulshreshtha16-Dec-11 3:51 
GeneralRe: How to access application's extern variable inside a dll Pin
CPallini16-Dec-11 5:27
mveCPallini16-Dec-11 5:27 
GeneralRe: How to access application's extern variable inside a dll Pin
rahul.kulshreshtha16-Dec-11 5:46
rahul.kulshreshtha16-Dec-11 5:46 
AnswerRe: How to access application's extern variable inside a dll Pin
Erudite_Eric16-Dec-11 0:40
Erudite_Eric16-Dec-11 0:40 
GeneralRe: How to access application's extern variable inside a dll Pin
rahul.kulshreshtha16-Dec-11 3:53
rahul.kulshreshtha16-Dec-11 3:53 
AnswerRe: How to access application's extern variable inside a dll Pin
Chris Losinger16-Dec-11 4:16
professionalChris Losinger16-Dec-11 4:16 
you can access extern (and exported) variables in a DLL from an EXE.
you cannot access variables in an EXE from a DLL.

you could, in theory, decompile the EXE, find the references to the data you want, figure out if the data is statically or dynamically allocated, then create some mechanism to probe the EXE's memory at the right locations and times, etc.. a huge task.

GeneralRe: How to access application's extern variable inside a dll Pin
rahul.kulshreshtha16-Dec-11 5:22
rahul.kulshreshtha16-Dec-11 5:22 
GeneralRe: How to access application's extern variable inside a dll Pin
Richard MacCutchan16-Dec-11 7:04
mveRichard MacCutchan16-Dec-11 7:04 
GeneralRe: How to access application's extern variable inside a dll Pin
Chris Losinger16-Dec-11 8:03
professionalChris Losinger16-Dec-11 8:03 
GeneralRe: How to access application's extern variable inside a dll Pin
Richard MacCutchan16-Dec-11 22:42
mveRichard MacCutchan16-Dec-11 22:42 
QuestionWhich function can I use instead of ShowControlBar Pin
adityarao3115-Dec-11 19:42
adityarao3115-Dec-11 19:42 
AnswerRe: Which function can I use instead of ShowControlBar Pin
Resmi Anna15-Dec-11 21:45
Resmi Anna15-Dec-11 21:45 
QuestionDES Encryption Pin
jkirkerx15-Dec-11 19:12
professionaljkirkerx15-Dec-11 19:12 
SuggestionRe: DES Encryption Pin
Code-o-mat15-Dec-11 22:20
Code-o-mat15-Dec-11 22:20 
GeneralRe: DES Encryption Pin
jkirkerx16-Dec-11 6:40
professionaljkirkerx16-Dec-11 6:40 
GeneralRe: DES Encryption Pin
Code-o-mat16-Dec-11 7:01
Code-o-mat16-Dec-11 7:01 
AnswerRe: DES Encryption Pin
Richard MacCutchan15-Dec-11 23:40
mveRichard MacCutchan15-Dec-11 23:40 
AnswerRe: DES Encryption Pin
Richard MacCutchan16-Dec-11 1:16
mveRichard MacCutchan16-Dec-11 1:16 
GeneralRe: DES Encryption Pin
jkirkerx16-Dec-11 7:19
professionaljkirkerx16-Dec-11 7:19 
GeneralRe: DES Encryption Pin
Richard MacCutchan16-Dec-11 7:40
mveRichard MacCutchan16-Dec-11 7:40 
GeneralRe: DES Encryption Pin
Randor 16-Dec-11 7:59
professional Randor 16-Dec-11 7:59 
GeneralRe: DES Encryption Pin
jkirkerx16-Dec-11 8:12
professionaljkirkerx16-Dec-11 8:12 
GeneralRe: DES Encryption Pin
jkirkerx16-Dec-11 9:00
professionaljkirkerx16-Dec-11 9:00 

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.