Click here to Skip to main content
15,910,234 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: error C2039: 'QueryStringValue' : is not a member of 'CRegKey' Pin
Stephen Hewitt19-Aug-08 21:42
Stephen Hewitt19-Aug-08 21:42 
QuestionHow to post a message from MainFrm to the dialog , psl adv Pin
ptr_Electron19-Aug-08 21:19
ptr_Electron19-Aug-08 21:19 
AnswerRe: How to post a message from MainFrm to the dialog , psl adv Pin
Cedric Moonen19-Aug-08 21:22
Cedric Moonen19-Aug-08 21:22 
GeneralRe: How to post a message from MainFrm to the dialog , psl adv Pin
ptr_Electron19-Aug-08 21:28
ptr_Electron19-Aug-08 21:28 
QuestionHow to share data between 2 dlls Pin
Vijjuuu.19-Aug-08 21:01
Vijjuuu.19-Aug-08 21:01 
AnswerRe: How to share data between 2 dlls Pin
Hamid_RT19-Aug-08 21:17
Hamid_RT19-Aug-08 21:17 
AnswerRe: How to share data between 2 dlls Pin
Stephen Hewitt19-Aug-08 21:35
Stephen Hewitt19-Aug-08 21:35 
AnswerRe: How to share data between 2 dlls Pin
Naveen19-Aug-08 21:37
Naveen19-Aug-08 21:37 
Vijjuuuuuuuuu........... wrote:
Using pragma Data section or using Memory map files ?


If both A.dll and B.dll are in same process, you dont need to share it using #pragma . Just declare the variable as global and export it in the A.dll.

Also you please note the below two points

1. Sharing the data segments using #pragma is used to share a data in a dll across multiple process. Not between two dlls in same process or multiple process.

2. You will not be able to share a map using shared section, because the map will be holding pointers to many dynamically allocated memories, which is valid only in corresponding process. Trying to access it from another process result in access vialotion.


GeneralRe: How to share data between 2 dlls Pin
Vijjuuu.19-Aug-08 22:23
Vijjuuu.19-Aug-08 22:23 
QuestionHow to pass a paremeters to Dialog Pin
ptr_Electron19-Aug-08 20:36
ptr_Electron19-Aug-08 20:36 
AnswerRe: How to pass a paremeters to Dialog Pin
Cedric Moonen19-Aug-08 20:46
Cedric Moonen19-Aug-08 20:46 
GeneralRe: How to pass a paremeters to Dialog Pin
ptr_Electron19-Aug-08 21:06
ptr_Electron19-Aug-08 21:06 
QuestionRe: How to pass a paremeters to Dialog Pin
CPallini19-Aug-08 21:19
mveCPallini19-Aug-08 21:19 
AnswerRe: How to pass a paremeters to Dialog Pin
ptr_Electron19-Aug-08 21:30
ptr_Electron19-Aug-08 21:30 
QuestionRe: How to pass a paremeters to Dialog Pin
CPallini19-Aug-08 21:33
mveCPallini19-Aug-08 21:33 
AnswerRe: How to pass a paremeters to Dialog Pin
ptr_Electron19-Aug-08 21:49
ptr_Electron19-Aug-08 21:49 
QuestionRe: How to pass a paremeters to Dialog Pin
CPallini19-Aug-08 21:50
mveCPallini19-Aug-08 21:50 
GeneralRe: How to pass a paremeters to Dialog Pin
Cedric Moonen19-Aug-08 21:51
Cedric Moonen19-Aug-08 21:51 
GeneralRe: How to pass a paremeters to Dialog Pin
David Crow20-Aug-08 3:37
David Crow20-Aug-08 3:37 
GeneralRe: How to pass a paremeters to Dialog Pin
ptr_Electron19-Aug-08 21:52
ptr_Electron19-Aug-08 21:52 
QuestionRe: How to pass a paremeters to Dialog Pin
CPallini19-Aug-08 22:18
mveCPallini19-Aug-08 22:18 
AnswerRe: How to pass a paremeters to Dialog Pin
ptr_Electron20-Aug-08 2:48
ptr_Electron20-Aug-08 2:48 
GeneralRe: How to pass a paremeters to Dialog Pin
CPallini20-Aug-08 21:01
mveCPallini20-Aug-08 21:01 
AnswerRe: How to pass a paremeters to Dialog Pin
toxcct19-Aug-08 21:57
toxcct19-Aug-08 21:57 
GeneralRe: How to pass a paremeters to Dialog Pin
ptr_Electron19-Aug-08 22:19
ptr_Electron19-Aug-08 22:19 

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.