Home > Back-end >  Java calls dephi problem (please master action)
Java calls dephi problem (please master action)

Time:10-01

When written in Delphi DLL error:
[Error] JNI. Pas (217) : Undeclared identifier: 'va_list'
[Error] JNI. Pas (529) : Undeclared identifier: 'TIOFile'
[Error] JNI. Pas (993) : the Identifier expected but found 'FUNCTION'
[Error] JNI. Pas (993) : Undeclared identifier: 'JvmModuleName'
[Hint] JNI. Pas (604) : Private symbol 'FJVMDLLFile declared but never informs the
[Error] JNI. Pas (630) : Unsatisfied forward or external declaration: 'TJavaVM. Create'
[Error] JNI. Pas (631) : Unsatisfied forward or external declaration: 'TJavaVM. Create'
[Error] JNI. Pas (633) : Unsatisfied forward or external declaration: 'TJavaVM. Destroy'
[Fatal Error] myDll. DPR (3) : Could not compile, informs the unit 'JNI. Pas'
My JNI. Pas has been on the project, how to solve?

CodePudding user response:

DLL is under win32 gm doesn't have anything to do with whether to Java calls ah, should be a Java party himself to reference library to solve the problem of DLL call,
You the jni. Pas reference file less obvious

CodePudding user response:

If can only use jre4 version to compile the DLL following, I am using jre7
  • Related