Click here to Skip to main content
15,891,607 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
Question, if user clicks Capture web page button click event Pin
HarishDixit1-May-06 5:35
HarishDixit1-May-06 5:35 
QuestionWTL MDI can't add menu bar in child window Pin
Loopzilla1-May-06 3:07
Loopzilla1-May-06 3:07 
Questionhow to convert unix timestamp to date Pin
proteushf29-Apr-06 22:20
proteushf29-Apr-06 22:20 
AnswerRe: how to convert unix timestamp to date Pin
Stuart Dootson30-Apr-06 1:16
professionalStuart Dootson30-Apr-06 1:16 
GeneralRe: how to convert unix timestamp to date Pin
proteushf30-Apr-06 3:28
proteushf30-Apr-06 3:28 
QuestionATL property problem Pin
Radu Sorin27-Apr-06 23:08
Radu Sorin27-Apr-06 23:08 
AnswerRe: ATL property problem Pin
Kurt _B28-Apr-06 5:25
Kurt _B28-Apr-06 5:25 
QuestionSTL allocators in shared memory Pin
psbasha27-Apr-06 4:07
psbasha27-Apr-06 4:07 
Hi ,
I am working on a C++ allocator class in shared memory(UNIX).
I can see that the allocator creates space for the object being pushed in the shared memory but the vector skeleton resides in the usual process address space(I mean in stack or in heap).
When i fork ,I get a copy of the vector and the shared segment in the child process . But any updations made by the child is now no longer visible to the parent process.
The psedo code is as follows:

if (fork()==0)
{
push new elements to the vector //child
}
else
{
shmdt(shared segment);
getchar();
shmat(sharedid);
Iterate vector in parent
}

In the above pseudo code , If i iterate in the parent I am not
able to see the changes in the parent.

Please suggest a solution to make the parent visible of whatever changes i make in the child.

Thanks in advance

AnswerRe: STL allocators in shared memory Pin
Nemanja Trifunovic27-Apr-06 4:19
Nemanja Trifunovic27-Apr-06 4:19 
AnswerRe: STL allocators in shared memory Pin
Stephen Hewitt27-Apr-06 20:06
Stephen Hewitt27-Apr-06 20:06 
QuestionUsing CString in ATL Service Pin
MasthanRao27-Apr-06 3:21
MasthanRao27-Apr-06 3:21 
AnswerRe: Using CString in ATL Service Pin
RChin27-Apr-06 23:53
RChin27-Apr-06 23:53 
GeneralRe: Using CString in ATL Service Pin
MasthanRao28-Apr-06 1:05
MasthanRao28-Apr-06 1:05 
QuestionATL Exe Pin
Anthony988726-Apr-06 12:33
Anthony988726-Apr-06 12:33 
AnswerRe: ATL Exe Pin
Stephen Hewitt26-Apr-06 13:37
Stephen Hewitt26-Apr-06 13:37 
GeneralRe: ATL Exe Pin
Anthony988727-Apr-06 3:26
Anthony988727-Apr-06 3:26 
GeneralRe: ATL Exe Pin
Stephen Hewitt27-Apr-06 13:48
Stephen Hewitt27-Apr-06 13:48 
GeneralRe: ATL Exe Pin
Anthony988727-Apr-06 14:04
Anthony988727-Apr-06 14:04 
Questionhow to add code for user can adjust controls postion? Pin
CooperWu22-Apr-06 6:23
CooperWu22-Apr-06 6:23 
AnswerRe: how to add code for user can adjust controls postion? Pin
Michael Dunn22-Apr-06 9:17
sitebuilderMichael Dunn22-Apr-06 9:17 
GeneralRe: how to add code for user can adjust controls postion? Pin
CooperWu23-Apr-06 0:28
CooperWu23-Apr-06 0:28 
GeneralRe: how to add code for user can adjust controls postion? Pin
Jörgen Sigvardsson23-Apr-06 2:30
Jörgen Sigvardsson23-Apr-06 2:30 
GeneralRe: how to add code for user can adjust controls postion? Pin
Michael Dunn23-Apr-06 7:30
sitebuilderMichael Dunn23-Apr-06 7:30 
GeneralRe: how to add code for user can adjust controls postion? Pin
CooperWu23-Apr-06 18:29
CooperWu23-Apr-06 18:29 
GeneralRe: how to add code for user can adjust controls postion? Pin
CooperWu26-Apr-06 19:52
CooperWu26-Apr-06 19:52 

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.