Jump to content
Excelsior Forums


  • Content count

  • Joined

  • Last visited


Community Reputation

0 Neutral

About Nate

  • Rank
  • Birthday 01/01/1
  1. Nate

    Returning C pointer in xfunction

    Yes. Or an int.
  2. Nate


    UnsupportedClassVersionError means you are using an older version of Java to run code compiled with a newer version of Java. Upgrade your Java to the latest.
  3. Nate

    xFunction newbie

    If your IDE tells you that a package or class does not exist or cannot be found, then it is a Java error. It has nothing to do with the DLL. The problem is you do not have the JAR file containing the package or class mounted in your IDE. Or, you have misspelled the package or class. In this case, "com.excelsior.xFunction" is a package. Only types can be imported. Try this code: "import com.excelsior.xFunction.*;". As for the xFunction DLL, you need it somewhere in your Windows path. Try "c:\windows\system32".
  4. No way to tell if it is your code or the reader's DLL. Simplify the problem. Write a simple application that doesn't use xFunction, making it more and more complex until you get a crash, then try to figure it out from there.
  5. Nate

    xFunction cannot call C++ methods ??

    Use dependency walker to view the C functions exposed by your native library. Wrap your exports with "extern C" so that their names don't get munged, eg... extern "C" { __declspec(dllexport) BOOL isRegistered (); __declspec(dllexport) void protectedFunction (); }