Click here to Skip to main content
15,915,703 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Membership in Thread is defined by object or by method ? Pin
Mike Dimmick12-Sep-03 5:26
Mike Dimmick12-Sep-03 5:26 
QuestionHow to use the Word Object Library in VC++? Pin
GTS202012-Sep-03 2:52
GTS202012-Sep-03 2:52 
AnswerRe: How to use the Word Object Library in VC++? Pin
David Crow12-Sep-03 2:56
David Crow12-Sep-03 2:56 
GeneralRe: How to use the Word Object Library in VC++? Pin
GTS202012-Sep-03 3:21
GTS202012-Sep-03 3:21 
GeneralChat - Program Pin
pillepop12-Sep-03 2:37
pillepop12-Sep-03 2:37 
GeneralRe: Chat - Program Pin
Roger Stoltz12-Sep-03 3:59
Roger Stoltz12-Sep-03 3:59 
GeneralRe: Chat - Program Pin
pillepop12-Sep-03 5:39
pillepop12-Sep-03 5:39 
GeneralRe: Chat - Program Pin
Peter Weyzen12-Sep-03 10:26
Peter Weyzen12-Sep-03 10:26 
GeneralMenu in MFC Pin
cberam12-Sep-03 1:53
cberam12-Sep-03 1:53 
GeneralRe: Menu in MFC Pin
vcplusplus12-Sep-03 2:42
vcplusplus12-Sep-03 2:42 
GeneralRe: Menu in MFC Pin
Mike O'Neill12-Sep-03 15:59
Mike O'Neill12-Sep-03 15:59 
GeneralCheck if file is executable Pin
peterchen12-Sep-03 1:43
peterchen12-Sep-03 1:43 
GeneralRe: Check if file is executable Pin
geo_m12-Sep-03 2:38
geo_m12-Sep-03 2:38 
GeneralRe: Check if file is executable Pin
vcplusplus12-Sep-03 2:48
vcplusplus12-Sep-03 2:48 
GeneralRe: Check if file is executable Pin
David Crow12-Sep-03 7:31
David Crow12-Sep-03 7:31 
GeneralRe: Check if file is executable Pin
David Crow12-Sep-03 7:33
David Crow12-Sep-03 7:33 
GeneralThreads and object Pin
El'Cachubrey12-Sep-03 1:07
El'Cachubrey12-Sep-03 1:07 
GeneralRe: Threads and object Pin
Dangleberry12-Sep-03 1:36
sussDangleberry12-Sep-03 1:36 
QuestionWhere can I find a table of all functions inside in kernel32.dll? Pin
Tommy Svensson12-Sep-03 0:34
Tommy Svensson12-Sep-03 0:34 
AnswerRe: Where can I find a table of all functions inside in kernel32.dll? Pin
El'Cachubrey12-Sep-03 0:53
El'Cachubrey12-Sep-03 0:53 
AnswerRe: Where can I find a table of all functions inside in kernel32.dll? Pin
Mike Dimmick12-Sep-03 2:15
Mike Dimmick12-Sep-03 2:15 
The reason for the restriction is that you don't know what order the loader will decide to initialise DLLs in, and you shouldn't use any DLL that hasn't been initialised.

The only DLL it's always safe to use at this point is kernel32.dll, because that's where the Win32 bit of process setup lives - it's guaranteed to be initialised first.

A large amount of the GUI code lives in User32.dll and Gdi32.dll, so you shouldn't do what you're proposing to do. If you must do it, delay it until some other function in your DLL is called. Personally I would advise not doing it at all.

For information on how the .NET Framework breaks these rules, and the impact that has, read Chris Brumme's blog entry[^] on the subject.
AnswerRe: Where can I find a table of all functions inside in kernel32.dll? Pin
David Crow12-Sep-03 2:52
David Crow12-Sep-03 2:52 
Generalhelp - mfc, and entering text Pin
lxxrya00112-Sep-03 0:14
lxxrya00112-Sep-03 0:14 
GeneralRe: help - mfc, and entering text Pin
valikac12-Sep-03 6:04
valikac12-Sep-03 6:04 
GeneralRe: help - mfc, and entering text like on paint Pin
lxxrya00112-Sep-03 11:13
lxxrya00112-Sep-03 11:13 

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.