Jump to content
Excelsior Forums

Nate

Members
  • Content count

    0
  • Joined

  • Last visited

    Never

Everything posted by Nate

  1. Returning C pointer in xfunction

    Yes. Or an int.
  2. java.lang.UnsupportedClassVersionError

    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. 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. 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 (); }
×