Click here to Skip to main content
15,900,325 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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
--------------------------------------------

GeneralRe: Hooking RegisterClassEx and dll question Pin
Ryan Binns15-May-05 18:43
Ryan Binns15-May-05 18:43 
GeneralRe: Hooking RegisterClassEx and dll question Pin
Kuniva16-May-05 3:03
Kuniva16-May-05 3:03 
GeneralRe: Hooking RegisterClassEx and dll question Pin
Ryan Binns17-May-05 1:19
Ryan Binns17-May-05 1:19 
GeneralAsian scripts and DrawText(DT_CALCRECT) Pin
Jörgen Sigvardsson15-May-05 10:31
Jörgen Sigvardsson15-May-05 10:31 
GeneralRe: Asian scripts and DrawText(DT_CALCRECT) Pin
Gary R. Wheeler15-May-05 13:54
Gary R. Wheeler15-May-05 13:54 
GeneralRe: Asian scripts and DrawText(DT_CALCRECT) Pin
Anonymous15-May-05 20:11
Anonymous15-May-05 20:11 
GeneralRe: Asian scripts and DrawText(DT_CALCRECT) Pin
Chris Richardson15-May-05 17:07
Chris Richardson15-May-05 17:07 
GeneralRe: Asian scripts and DrawText(DT_CALCRECT) Pin
Anonymous15-May-05 20:12
Anonymous15-May-05 20:12 
GeneralRe: Asian scripts and DrawText(DT_CALCRECT) Pin
Ryan Binns15-May-05 18:34
Ryan Binns15-May-05 18:34 
GeneralRe: Asian scripts and DrawText(DT_CALCRECT) Pin
Anonymous15-May-05 20:13
Anonymous15-May-05 20:13 
QuestionCan VC6 and a later version reside on the same machine? Pin
WREY15-May-05 9:39
WREY15-May-05 9:39 
AnswerRe: Can VC6 and a later version reside on the same machine? Pin
Jörgen Sigvardsson15-May-05 10:33
Jörgen Sigvardsson15-May-05 10:33 
GeneralRe: Can VC6 and a later version reside on the same machine? Pin
PJ Arends15-May-05 10:37
professionalPJ Arends15-May-05 10:37 
GeneralRe: Can VC6 and a later version reside on the same machine? Pin
WREY15-May-05 11:07
WREY15-May-05 11:07 
GeneralRe: Can VC6 and a later version reside on the same machine? Pin
Kevin McFarlane16-May-05 1:51
Kevin McFarlane16-May-05 1:51 
GeneralRe: Can VC6 and a later version reside on the same machine? Pin
WREY15-May-05 11:08
WREY15-May-05 11:08 
AnswerRe: Can VC6 and a later version reside on the same machine? Pin
Gary R. Wheeler15-May-05 14:08
Gary R. Wheeler15-May-05 14:08 

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.