Jump to content
Excelsior Forums

smmr

Members
  • Content count

    0
  • Joined

  • Last visited

    Never

Community Reputation

0 Neutral

About smmr

  • Rank
    Newbie
  • Birthday 01/01/01

Profile Information

  • Location
    Portugal
  1. 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,
×