Does User32.dll and other core Windows libraries have a CLSID, PROGID etc?

Posted on 2009-02-19
Last Modified: 2013-11-25
I'm trying to establish whether User32.dll (specifically) has a CLSID or other such "handle".
I'm a Windows novice to say the least but it appears that User32.dll (and indeed other core MS libraries) that are located in the system32 folder do not appear in the registry.  Is this true?  

The problem I have is that I'm trying to call a Windows API from Java/JACOB and it only works if you have a 'string" that is the CLSID or PROGID (either symbolic or the GUID style).
Question by:mdsrobbins
    LVL 69

    Accepted Solution

    User32.Dll is not a COM DLL and that means that it is not registered in the registry (and does not have CLSID and PROGID).

    From VB, we have to "import" the function of this DLL. I have no clue how it can be done from Java.

    Author Comment

    There are a number of libraries that can do that from Java including JNA, J/Invoke, JNative, NativeCall and others.  Given User32.dll is not a COM DLL then you can't call it from JACOB because it is a "Java COM Bridge", hence the name.

    Thanks for the answer

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
    Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
    This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
    This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA.…

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now