Click here to Skip to main content
15,920,633 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Rescale Bitmap on Picture Control Pin
sweep12319-Nov-03 0:45
sweep12319-Nov-03 0:45 
Generalgraphic editor Pin
R. Thomas16-Nov-03 23:39
R. Thomas16-Nov-03 23:39 
GeneralRe: graphic editor Pin
Peter Molnar17-Nov-03 13:08
Peter Molnar17-Nov-03 13:08 
GeneralKernel32.dll Pin
hph16-Nov-03 23:36
hph16-Nov-03 23:36 
GeneralRe: Kernel32.dll Pin
Prakash Nadar16-Nov-03 23:51
Prakash Nadar16-Nov-03 23:51 
GeneralRe: Kernel32.dll Pin
hph16-Nov-03 23:55
hph16-Nov-03 23:55 
GeneralRe: Kernel32.dll Pin
Prakash Nadar17-Nov-03 0:29
Prakash Nadar17-Nov-03 0:29 
GeneralRe: Kernel32.dll Pin
Mike Dimmick17-Nov-03 0:33
Mike Dimmick17-Nov-03 0:33 
Kernel32 is very, very tightly linked to the version of Windows that it's installed with. You'll notice how whenever Microsoft make a patch to NTOSKRNL.EXE or CSRSS.EXE on Windows 2000/XP/Server 2003, they also ship a new version of kernel32.dll.

DO NOT DO THIS.

Normally you can redirect a DLL by copying it into the same directory as your application, but this won't work for kernel32.dll because that's where Windows starts your process: in the BaseProcessStart function in kernel32.dll (see Inside Windows 2000 [Solomon & Russinovich, MS Press]). Once a DLL is loaded, Windows will use the one it's already got rather than loading a different version with the same name (IIRC).

It might help if you explained the effect you're actually after - perhaps you're trying to inject some code into a different process? If you explain that, you might get more help.
GeneralRe: Kernel32.dll Pin
hph17-Nov-03 1:50
hph17-Nov-03 1:50 
GeneralRe: Kernel32.dll Pin
Daniel Turini17-Nov-03 2:20
Daniel Turini17-Nov-03 2:20 
GeneralRe: Kernel32.dll Pin
Mike Dimmick17-Nov-03 2:26
Mike Dimmick17-Nov-03 2:26 
GeneralRe: Kernel32.dll Pin
Ceri17-Nov-03 0:42
Ceri17-Nov-03 0:42 
GeneralNamed Pipe access problems across network Pin
Ceri16-Nov-03 22:40
Ceri16-Nov-03 22:40 
Generalconvert Pin
styve16-Nov-03 22:34
styve16-Nov-03 22:34 
Generalconvert modify Pin
styve16-Nov-03 22:37
styve16-Nov-03 22:37 
GeneralRe: convert Pin
Prakash Nadar16-Nov-03 23:48
Prakash Nadar16-Nov-03 23:48 
GeneralRe: convert Pin
Michael P Butler16-Nov-03 23:58
Michael P Butler16-Nov-03 23:58 
GeneralMci32.ocx Pin
Prakash Nadar16-Nov-03 22:13
Prakash Nadar16-Nov-03 22:13 
Generalnetbios getting related info Pin
Member 65664816-Nov-03 19:35
Member 65664816-Nov-03 19:35 
GeneralRe: netbios getting related info Pin
David Crow17-Nov-03 4:19
David Crow17-Nov-03 4:19 
Generalshell32.dll version 5 - download! Pin
Member 70440716-Nov-03 19:33
Member 70440716-Nov-03 19:33 
GeneralRe: shell32.dll version 5 - download! Pin
Michael Dunn17-Nov-03 4:40
sitebuilderMichael Dunn17-Nov-03 4:40 
GeneralRe: shell32.dll version 5 - download! Pin
Member 70440718-Nov-03 23:22
Member 70440718-Nov-03 23:22 
GeneralBSTR FAR* : Help needed Immediately Pin
Member 65260616-Nov-03 17:59
Member 65260616-Nov-03 17:59 
GeneralRe: BSTR FAR* : Help needed Immediately Pin
paulb16-Nov-03 18:11
paulb16-Nov-03 18:11 

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.