Armenian Knowledge Base

Armenian Knowledge Base (https://forum.armkb.com/)
-   Web Development (https://forum.armkb.com/web-development/)
-   -   JAVA: Windows registry (https://forum.armkb.com/web-development/11901-java-windows-registry.html)

greka 11.08.2004 10:39

JAVA: Windows registry
 
can't find trustworthy code :confused:

if using "com.ms.lang.RegKey", receiving "java.lang.UnsatisfiedLinkError: pRegOpenBaseKey".

If using another MS class - "com.ms.wfc.app.Registry" - getting:

PHP Code:

Exception in thread "main" java.lang.NoClassDefFoundErrorcom/ms/wfc/core/WFCInvalid
ArgumentException
        at com
.ms.wfc.app.Registry.<clinit>(Registry.java)
        
at java.lang.Class.forName0(Native Method)
        
at java.lang.Class.forName(Class.java:141)
        
at testProxy.main(gugush.java:315

Could anyone tell me how to resolve these errors?

thanks in advance

greka 11.08.2004 11:12

Got an answer for the "com.ms.lang.RegKey" class:
use "jview" instead of "java" to run the applet. lol


All times are GMT. The time now is 18:02.

Powered by vBulletin® Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.