Click here to Skip to main content
15,921,841 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionWhat Profiler message means ? Pin
vgrigor23-Sep-03 4:30
vgrigor23-Sep-03 4:30 
Generalmenu Pin
sardinka23-Sep-03 4:23
sardinka23-Sep-03 4:23 
GeneralRe: menu Pin
RobJones23-Sep-03 4:30
RobJones23-Sep-03 4:30 
GeneralRe: menu Pin
Chris Richardson23-Sep-03 11:04
Chris Richardson23-Sep-03 11:04 
QuestionWhat means such Profiler output ? Pin
vgrigor23-Sep-03 4:04
vgrigor23-Sep-03 4:04 
AnswerRe: What means such Profiler output ? Pin
Mike Dimmick23-Sep-03 5:53
Mike Dimmick23-Sep-03 5:53 
GeneralRe: What means such Profiler output ? Pin
vgrigor23-Sep-03 6:02
vgrigor23-Sep-03 6:02 
Generaldll shared data Pin
umarcool23-Sep-03 3:47
umarcool23-Sep-03 3:47 
I am trying to have shrared data in dll and i have got no of option using memory mapped files and #pragma data_seg(".SHARDAT")

The problem i am running into is that i have a pointer of a root of the linked list now what i want to do is allocate memory to it and i have put this in to

#pragma data_seg(".SHARDAT")
CLinkedList *pRoot;
#pragma data_seg

now i want to fill the linked list with contents based on some input and its dynamic memory allocation all right chain formed.
Any process can add into it

My question here is that i have taken a look at number of tutorials on memory mapped files and shared data seq but in all the case the data of the object was fixed
class Cobj
{
int i;
char str[255];
}

etc and sizof was used to allocate memory to it both in case of memory mapped and shared data.

i want to keep a pointer and memory could be allocated by any proces number of instance of application connecting.
Is there any method of global memory allocation visible to all processes and at the same time dynamic at runtime.

I actually want to shared data through dll any help, suggestions,links etc are more than welcomed.


GeneralRe: dll shared data Pin
Mike Dimmick23-Sep-03 4:14
Mike Dimmick23-Sep-03 4:14 
GeneralRe: dll shared data Pin
umarcool23-Sep-03 5:35
umarcool23-Sep-03 5:35 
GeneralRe: dll shared data Pin
Alexander M.,27-Sep-03 7:29
Alexander M.,27-Sep-03 7:29 
Generalwriting general plugins fro winamp in VC++. Pin
karteek23-Sep-03 3:40
karteek23-Sep-03 3:40 
Generaldatabase delete help! Pin
coda_x23-Sep-03 2:52
coda_x23-Sep-03 2:52 
GeneralRe: database delete help! Pin
David Crow23-Sep-03 3:01
David Crow23-Sep-03 3:01 
QuestionHow to invoke a function at a regular interval? Pin
George223-Sep-03 1:54
George223-Sep-03 1:54 
AnswerRe: How to invoke a function at a regular interval? Pin
sashaf23-Sep-03 2:40
sashaf23-Sep-03 2:40 
GeneralRe: How to invoke a function at a regular interval? Pin
Mike Dimmick23-Sep-03 2:50
Mike Dimmick23-Sep-03 2:50 
GeneralRe: How to invoke a function at a regular interval? Pin
George223-Sep-03 16:44
George223-Sep-03 16:44 
GeneralRe: How to invoke a function at a regular interval? Pin
George223-Sep-03 16:45
George223-Sep-03 16:45 
GeneralQuestion about enum in C/C++ Pin
George223-Sep-03 1:48
George223-Sep-03 1:48 
GeneralRe: Question about enum in C/C++ Pin
567890123423-Sep-03 3:22
567890123423-Sep-03 3:22 
GeneralRe: Question about enum in C/C++ Pin
George223-Sep-03 16:51
George223-Sep-03 16:51 
GeneralRe: Question about enum in C/C++ Pin
Mike Dimmick23-Sep-03 4:03
Mike Dimmick23-Sep-03 4:03 
GeneralRe: Question about enum in C/C++ Pin
George223-Sep-03 16:49
George223-Sep-03 16:49 
GeneralRe: Question about enum in C/C++ Pin
Mike Dimmick24-Sep-03 9:11
Mike Dimmick24-Sep-03 9:11 

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.