Click here to Skip to main content
15,914,392 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Please help ! Pin
pgirish6-Nov-06 3:58
pgirish6-Nov-06 3:58 
AnswerRe: Please help ! Pin
Hamid_RT6-Nov-06 18:32
Hamid_RT6-Nov-06 18:32 
GeneralRe: Please help ! Pin
Bravoone_20066-Nov-06 19:22
Bravoone_20066-Nov-06 19:22 
GeneralRe: Please help ! Pin
Hamid_RT6-Nov-06 20:27
Hamid_RT6-Nov-06 20:27 
QuestionCopy to clipboard problem. Pin
rrrado6-Nov-06 2:50
rrrado6-Nov-06 2:50 
AnswerRe: Copy to clipboard problem. Pin
cje6-Nov-06 9:40
cje6-Nov-06 9:40 
GeneralRe: Copy to clipboard problem. Pin
rrrado7-Nov-06 21:21
rrrado7-Nov-06 21:21 
Questionshared data segment Pin
Abhi Lahare6-Nov-06 2:17
Abhi Lahare6-Nov-06 2:17 
Hi all,

I have two dll
1)DLLHook- global hook dll
2)BHODLL- a BHO dll

and a server application
3) DlgApp

in DLL hook i have
#pragma data_seg(".shared")
map<_tstring,_tstring> g_map;
// Other objects
##pragma comment(linker, "/section:.shared,RWS")

In DlgAPP, I am inserting some values in map.
Now I have to use these value in BHODLL.


While I debug the BHO, i do not see and values in the map. As per my understanding the global data section will be avaible in all the process after installing hook.so the map should be avaible in BHO code.

Is these possible? or I am doing something wrong?


Thanks in advance.
Regards
Abhi Lahare
AnswerRe: shared data segment Pin
John M. Drescher6-Nov-06 2:28
John M. Drescher6-Nov-06 2:28 
GeneralRe: shared data segment Pin
Blake Miller7-Nov-06 3:54
Blake Miller7-Nov-06 3:54 
QuestionCustomized CPropertyPage Pin
Ajay L D6-Nov-06 2:12
Ajay L D6-Nov-06 2:12 
AnswerRe: Customized CPropertyPage Pin
PJ Arends6-Nov-06 8:02
professionalPJ Arends6-Nov-06 8:02 
GeneralRe: Customized CPropertyPage Pin
Ajay L D6-Nov-06 21:43
Ajay L D6-Nov-06 21:43 
Questionabout DMA Pin
mt_samiei6-Nov-06 2:09
mt_samiei6-Nov-06 2:09 
QuestionCoInitializeEx() Pin
shadrach_india6-Nov-06 2:08
shadrach_india6-Nov-06 2:08 
AnswerRe: CoInitializeEx() Pin
Cedric Moonen6-Nov-06 2:39
Cedric Moonen6-Nov-06 2:39 
GeneralRe: CoInitializeEx() Pin
shadrach_india6-Nov-06 2:46
shadrach_india6-Nov-06 2:46 
GeneralRe: CoInitializeEx() Pin
Cedric Moonen6-Nov-06 3:22
Cedric Moonen6-Nov-06 3:22 
GeneralRe: CoInitializeEx() [modified] Pin
shadrach_india6-Nov-06 3:34
shadrach_india6-Nov-06 3:34 
GeneralRe: CoInitializeEx() Pin
shadrach_india6-Nov-06 3:49
shadrach_india6-Nov-06 3:49 
QuestionWindow Text title bar Pin
_tasleem6-Nov-06 1:59
_tasleem6-Nov-06 1:59 
AnswerRe: Window Text title bar Pin
benjymous6-Nov-06 3:09
benjymous6-Nov-06 3:09 
AnswerRe: Window Text title bar Pin
Hamid_RT6-Nov-06 18:53
Hamid_RT6-Nov-06 18:53 
GeneralRe: Window Text title bar Pin
_tasleem6-Nov-06 22:34
_tasleem6-Nov-06 22:34 
GeneralRe: Window Text title bar Pin
Hamid_RT6-Nov-06 23:39
Hamid_RT6-Nov-06 23:39 

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.