Jump to content
Excelsior Forums


  • Content count

  • Joined

  • Last visited


Community Reputation

0 Neutral

About smmr

  • Rank
  • Birthday 01/01/1

Profile Information

  • Location
  1. smmr

    Registering Native Methods

    Hi, I'm evaluating xFunction and I?m using it to invoke a function that resides in a DLL. Looking at the examples, it was very easy to do that. The problem is that the function invokes the [JNI] [tt]RegisterNatives[/tt] function. That function receives, as parameter, a [tt]JNIEnv[/tt] pointer. If I was to use the [tt]JNI_OnLoad[/tt] function, the function would automatically receive it from the JVM. So my question is: does xFunction provides a mean to get a [tt]JNIEnv[/tt] pointer? Or is there a way in JAVA to generate such a pointer? Thank you,