Valhalla Legends Archive

Programming => General Programming => Java Programming => Topic started by: Camel on August 29, 2007, 12:51 AM

Title: Native methods/BCP?
Post by: Camel on August 29, 2007, 12:51 AM
Is it possible to use native methods to load a BCP? I'm not very familiar with how native methods work, or how BCP works, but if it's as simple as being able to access known functions in the dll, shouldn't it be possible?

[edit] in the event that it's not possible to directly access a BCP, it should still be possible to create an interface dll, no?
Title: Re: Native methods/BCP?
Post by: MyndFyre on August 29, 2007, 03:45 AM
I thought BCP invokes callbacks in the plugin DLL.
Title: Re: Native methods/BCP?
Post by: Camel on August 30, 2007, 12:34 AM
Okay, so consider a DLL that has these callbacks, and invokes class methods in the Java application. I'm not sure how to do it, but I'm currently reading a benchmark report of java->native/native->java calls among various VMs, so I believe it's possible.