Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_java thread: Re: =?iso-8859-1?Q?read_the_windows=B4s_registry?=


Message #1 by "Stefan Sandmann" <ssandmann@t...> on Thu, 6 Jun 2002 11:11:58
> According to the JavaDoc 
> (http://java.sun.com/j2se/1.4/docs/api/index.html):
> 
> "public class UnsatisfiedLinkError
> extends LinkageError
> 
> Thrown if the Java Virtual Machine cannot find an appropriate native-
> language definition of a method declared native."
> 
> Since you are trying to use a Windows class, this means that the .dll 
that 
> contains the RegOpenKeyEx native method is not installed on your 
machine, 
> or is not on the path.
> 
> > Exception in thread "main" java.lang.UnsatisfiedLinkError: RegOpenKeyEx
> > at com.ms.wfc.app.RegistryKey.RegOpenKeyEx(Native Method)

Hi,
I've got the same problem, but do you know which .dll I need for this...?

Best regards, Stefan

  Return to Index