anyone solved the dwmapi.dll problem using BerkeleyDB from java?

A

Andrew

I am trying to use the java API for BerkeleyDB onWindoze. The API is
done using JNI so before using db.jar you have to load the dynamic
library that contains the native routines. Once upon a time I got this
to work but now it fails. It says it cannot load dependent libraries
when I try System.loadLibrary. When I run depends it says it cannot
find dwmapi.dll. Has anyone out there managed to get BDB working with
java please?

FYI I am using java6 (1.6.0_14) and Visual Studio 8 Express for
compiling the C/C++ parts of BerkeleyDB.

Regards,

Andrew Marlow
 
S

Steve Sobol

I am trying to use the java API for BerkeleyDB onWindoze. The API is
done using JNI so before using db.jar you have to load the dynamic
library that contains the native routines. Once upon a time I got this
to work but now it fails. It says it cannot load dependent libraries
when I try System.loadLibrary. When I run depends it says it cannot
find dwmapi.dll. Has anyone out there managed to get BDB working with
java please?

I've used Java Native Access (JNA, https://jna.dev.java.net/) to
programatically turn DWM on and off from a Java app. Works well. :)

The Desktop Window Manager, which provides transparency and several
other neato-kewl visual effects in Windows (like the WindowsKey-Tab app
preview), is *only* available in Vista, or a newer OS like '08 Server or
Windows 7.

On Windows 3.1/95/98/Me/NT/2000/2003, DWMAPI.DLL does not exist.

I can't figure out why BDB would need to even touch DWM. My first guess-
pulled-out-of-my-ass is that you need to change one of the settings in
your Visual Studio project.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,482
Members
44,900
Latest member
Nell636132

Latest Threads

Top