Click here to Skip to main content
15,911,890 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to Name my threads in the Task Manager? Pin
_B-A-P_3-Feb-06 2:46
_B-A-P_3-Feb-06 2:46 
AnswerRe: How to Name my threads in the Task Manager? Pin
Gary R. Wheeler4-Feb-06 9:14
Gary R. Wheeler4-Feb-06 9:14 
GeneralRe: How to Name my threads in the Task Manager? Pin
_B-A-P_5-Feb-06 20:16
_B-A-P_5-Feb-06 20:16 
QuestionSavin a bitmap, but Pin
Ivan Cachicatari3-Feb-06 2:39
Ivan Cachicatari3-Feb-06 2:39 
AnswerRe: Savin a bitmap, but Pin
Russell'3-Feb-06 2:43
Russell'3-Feb-06 2:43 
AnswerRe: Savin a bitmap, but Pin
benjymous3-Feb-06 4:30
benjymous3-Feb-06 4:30 
AnswerRe: Savin a bitmap, but Pin
normanS5-Feb-06 19:41
normanS5-Feb-06 19:41 
QuestionDLL with shared memory Pin
Shivaji Patil3-Feb-06 2:18
professionalShivaji Patil3-Feb-06 2:18 
Hello every one,
Please let me explain my problem neatly.
I am using DLL (without MFC/ATL/WTL)with shared memory and I declared shared memory using

#pragma data_seg(".shared")

directive.
As I am using DLL only for system wide hook, only my application uses it. But my applicaton can be terminated and restatred again (by user). I observed using taskmanager and debugger with step executation when my program calls SetWindowsHookEx(), 8KB memory get used by my application(process). But while termination this 8KB memory doesn't get released. This makes me two problem.

1) If I want to update/change my DLL file by terminating application Windows doesn't allow it. (As my development is going on,I have to do it). Only way to wait for some time or Log off/restart.Frown | :(

2) If my application get restarted 15 times a day, shall application aquire 120KB memory? Confused | :confused:

How I can release this shared memory? Or reuse last unreleased next time.
How to solve this problem?

First deserve then desire. Let be deserved first.
AnswerRe: DLL with shared memory Pin
Kharfax3-Feb-06 3:15
Kharfax3-Feb-06 3:15 
GeneralRe: DLL with shared memory Pin
Shivaji Patil3-Feb-06 20:24
professionalShivaji Patil3-Feb-06 20:24 
GeneralRe: DLL with shared memory Pin
Kharfax6-Feb-06 2:38
Kharfax6-Feb-06 2:38 
GeneralRe: DLL with shared memory Pin
Shivaji Patil7-Feb-06 1:56
professionalShivaji Patil7-Feb-06 1:56 
GeneralRe: DLL with shared memory Pin
Shivaji Patil15-Feb-06 18:50
professionalShivaji Patil15-Feb-06 18:50 
QuestionSet Folder Attributes Pin
P Gibson3-Feb-06 1:43
P Gibson3-Feb-06 1:43 
AnswerRe: Set Folder Attributes Pin
bolivar1233-Feb-06 2:39
bolivar1233-Feb-06 2:39 
GeneralRe: Set Folder Attributes Pin
P Gibson3-Feb-06 4:13
P Gibson3-Feb-06 4:13 
GeneralRe: Set Folder Attributes Pin
Michael Dunn3-Feb-06 13:01
sitebuilderMichael Dunn3-Feb-06 13:01 
Questionhelp needed Pin
V.G3-Feb-06 1:06
V.G3-Feb-06 1:06 
AnswerRe: help needed Pin
Prakash Nadar3-Feb-06 2:47
Prakash Nadar3-Feb-06 2:47 
QuestionF1 should launch the help of my dialog app Pin
rampaul3-Feb-06 1:02
rampaul3-Feb-06 1:02 
AnswerRe: F1 should launch the help of my dialog app Pin
Aryan S3-Feb-06 1:20
Aryan S3-Feb-06 1:20 
General[OT] Pin
toxcct3-Feb-06 2:34
toxcct3-Feb-06 2:34 
GeneralRe: [OT] Pin
Prakash Nadar3-Feb-06 2:46
Prakash Nadar3-Feb-06 2:46 
Questionallocating disk space Pin
sundar_mca3-Feb-06 0:38
sundar_mca3-Feb-06 0:38 
AnswerRe: allocating disk space Pin
Axonn Echysttas3-Feb-06 0:53
Axonn Echysttas3-Feb-06 0:53 

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.