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

C / C++ / MFC

 
GeneralData Structure: Advice required Pin
Imtiaz Murtaza16-May-05 2:33
Imtiaz Murtaza16-May-05 2:33 
GeneralRe: Data Structure: Advice required Pin
Jack Puppy16-May-05 2:43
Jack Puppy16-May-05 2:43 
GeneralRe: Data Structure: Advice required Pin
David Crow16-May-05 2:45
David Crow16-May-05 2:45 
GeneralRe: Data Structure: Advice required Pin
Imtiaz Murtaza16-May-05 3:56
Imtiaz Murtaza16-May-05 3:56 
GeneralRe: Data Structure: Advice required Pin
David Crow16-May-05 4:00
David Crow16-May-05 4:00 
GeneralGetSystemMetrics(SM_CXVIRTUALSCREEN) Pin
IlanTal16-May-05 1:37
IlanTal16-May-05 1:37 
GeneralRe: GetSystemMetrics(SM_CXVIRTUALSCREEN) Pin
James R. Twine16-May-05 3:08
James R. Twine16-May-05 3:08 
GeneralRe: GetSystemMetrics(SM_CXVIRTUALSCREEN) Pin
IlanTal16-May-05 3:14
IlanTal16-May-05 3:14 
GeneralRe: GetSystemMetrics(SM_CXVIRTUALSCREEN) Pin
James R. Twine16-May-05 6:33
James R. Twine16-May-05 6:33 
GeneralRe: GetSystemMetrics(SM_CXVIRTUALSCREEN) Pin
IlanTal16-May-05 19:35
IlanTal16-May-05 19:35 
GeneralRe: GetSystemMetrics(SM_CXVIRTUALSCREEN) Pin
ucc80116-May-05 20:36
ucc80116-May-05 20:36 
GeneralRe: GetSystemMetrics(SM_CXVIRTUALSCREEN) Pin
ucc80116-May-05 20:37
ucc80116-May-05 20:37 
GeneralQT and Intellisense Pin
Sitaram Sukumar15-May-05 19:40
Sitaram Sukumar15-May-05 19:40 
GeneralRe: QT and Intellisense Pin
David Crow16-May-05 2:35
David Crow16-May-05 2:35 
GeneralRe: QT and Intellisense Pin
ucc80116-May-05 20:42
ucc80116-May-05 20:42 
Generalquestion regarding CListCtrl..... Pin
namaskaaram15-May-05 18:59
namaskaaram15-May-05 18:59 
GeneralRe: question regarding CListCtrl..... Pin
Jack Puppy16-May-05 2:45
Jack Puppy16-May-05 2:45 
GeneralRe: question regarding CListCtrl..... Pin
namaskaaram16-May-05 3:38
namaskaaram16-May-05 3:38 
GeneralRe: question regarding CListCtrl..... Pin
David Crow16-May-05 2:48
David Crow16-May-05 2:48 
GeneralForming Grid using Rectangles Pin
jinbabaj15-May-05 18:15
jinbabaj15-May-05 18:15 
GeneralRe: Forming Grid using Rectangles Pin
Ryan Binns15-May-05 18:28
Ryan Binns15-May-05 18:28 
GeneralRe: Forming Grid using Rectangles Pin
Blake Miller16-May-05 8:35
Blake Miller16-May-05 8:35 
GeneralRe: Forming Grid using Rectangles Pin
ucc80116-May-05 20:46
ucc80116-May-05 20:46 
GeneralQuestion: How can I create and show the MSOFFICE files from stream Pin
figer15-May-05 16:48
figer15-May-05 16:48 
GeneralHooking RegisterClassEx and dll question Pin
Kuniva15-May-05 12:45
Kuniva15-May-05 12:45 
Ok, what I'm trying to do here is change the default WindowProc of a common control by hooking RegisterClassEx using a hooking library. I figured InitCommonControls() does nothing but register the common control classes using RegisterClass(). BUT.. I managed to hook the functions, but I noticed that when I start apps like IE and others, I usually get a few RegisterClassEx calls but for really anomalous classes. To make myself clear, its the progress bar I want to change ("msctls_progress32" or something). So I don't get why I'm not logging the RegisterClassEx() calls for those controls when IE starts. My logical explanation would be that the registering of these classes is somehow global for the system and that its only done once at startup or whenever an app first uses them, but that seems kinda weird, cause then why would an app need to call InitCommonControls() each time before it can use them? :/

Then I have a second issue which has more to do with Windows in general really. I was wondering: When an application is loaded, is a new copy of the dlls it uses always loaded in memory, or does Windows keep like a pool of loaded dll's and if its already loaded the app will just use that dll? Like kernel32.dll or user32.dll for example. Does each app get a fresh copy or do they all use a shared instance? My guess would be they all get their own copy, but then I would think applications would consume more memory than they appear to do.

Thanks in advance for any clarifications.

Kuniva
--------------------------------------------

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.