• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 669
  • Last Modified:

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

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).
0
mdsrobbins
Asked:
mdsrobbins
1 Solution
 
Éric MoreauSenior .Net ConsultantCommented:
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.
0
 
mdsrobbinsAuthor Commented:
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
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now