new to Win32..need help on DLL's

This is a discussion on new to Win32..need help on DLL's within the Windows Programming forums, part of the Platform Specific Boards category; ok...i just started WIN32 programming and new someone to clarify this for me What is the diference between the Kernel32.dll, ...

  1. #1
    samurai warrior nextus's Avatar
    Join Date
    Nov 2001
    Posts
    196

    new to Win32..need help on DLL's

    ok...i just started WIN32 programming and new someone to clarify this for me

    What is the diference between the Kernel32.dll, User32.dll, and GDI32.dll??

    I think the kernel32 deals with the operating, user is user interface as in mouse/keyboard? and GDI is graphic device interface as in monitor..graphics?

    thanks...a long explanation would be nice...but try to be in plain english..thanks
    nextus, the samurai warrior

  2. #2
    Used Registerer jdinger's Avatar
    Join Date
    Feb 2002
    Posts
    1,065
    kernel32 handles i/o, manages memory and interrupts.

    user32 handles a lot of windows functions like GetWindowRect, MoveWindow, etc.

    gdi handles graphics stuff like creating/manipulating dc's, bitmaps, etc.

  3. #3
    Registered User
    Join Date
    Feb 2003
    Posts
    76
    These three DLLs are the "big three" in the Windows API.

    • Kernel32 is the module that handles the processes and threads in the operating system. It contains functions for file I/O and memory management, as well as string and time functions. This module is needed to load Windows programs.
    • Gdi32 is the module for the Graphics Device Interface, a portable and device-independent interface that Windows uses to draw the graphics and windows in the system. HDCs used in the GDI identify the context of a graphics device.
    • User32 contains the basic user interface for Windows. This module contains window functions, messaging functions, keyboard and mouse functions, and other intrinsic Windows functions.

  4. #4
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,786
    As a matter of fact many of the symbols exported by system dlls do little more than act as gates to kernel mode services, or they redirect to these gates......so what the dlls actually do is very little......

    Their main purpose is to export the API as its documented so that it will run (almost) the same on all Win32 Platforms.......

    Right now, the "innards" of these dlls shouldnt be a point of concern....see what the others have written and it will give you an idea of what APIs are exported from which dll

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Some doubts on DLLs
    By BrownB in forum Windows Programming
    Replies: 1
    Last Post: 05-30-2007, 02:25 AM
  2. standart dlls
    By keeper in forum C++ Programming
    Replies: 3
    Last Post: 07-05-2006, 07:32 PM
  3. Win32 API or Win32 SDK?
    By jverkoey in forum A Brief History of Cprogramming.com
    Replies: 2
    Last Post: 07-20-2005, 03:26 PM
  4. Can't load string from resource DLL's string table
    By s_k in forum Windows Programming
    Replies: 4
    Last Post: 07-15-2003, 06:43 AM
  5. OLE Clipboard :: Win32 API vs. MFC
    By kuphryn in forum Windows Programming
    Replies: 3
    Last Post: 08-11-2002, 05:57 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21