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

Posted on 2009-02-19
Medium Priority
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 70

Accepted Solution

Éric Moreau earned 1500 total points
ID: 23691503
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

ID: 23695891
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

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
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…

839 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