dcsimg
How to implement complex data structures in JNI/JAVA/C++, dlls.
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   sdfsf_dsfsdf
Posted On:   Thursday, March 19, 2009 02:40 AM

Dear All, Please kindly help me reg Software development Project:-L2 Common Platform-France in Java. Technologies:-Java/JNI/C++ dlls. I have review on 24-03-2009. BasicInfo.h,DefStruct.h,jni.h,Wrapper.h,WSSC_T_NEXTPASSREF.h How to implement complex data structures in JNI. ------------------------------ extern "C" _declspec(dllexport)WORD sscAppAdapt(SSCAPP_T_CONN *pProject ,/* Input */ SSC_T_COIL *pCoil , /* Input */ SSC_T_STANDROLLS *pRolls , /* Input */ SSC_T_PRODENV *pEnv , /* Input */ SSC_T_INTERV *pOper , /* Input */ SSC_T_SETUP *pSetup , /* Input */ SSCAPP_T_MEASPACK *pMeas , /* Input */ SSC_T_NEXTPASSREF *pNextPassR   More>>

Dear All,

Please kindly help me reg Software development
Project:-L2 Common Platform-France in Java.
Technologies:-Java/JNI/C++ dlls.
I have review on 24-03-2009.

BasicInfo.h,DefStruct.h,jni.h,Wrapper.h,WSSC_T_NEXTPASSREF.h

How to implement complex data structures in JNI.
------------------------------
extern "C" _declspec(dllexport)WORD sscAppAdapt(SSCAPP_T_CONN *pProject ,/* Input */
SSC_T_COIL *pCoil , /* Input */
SSC_T_STANDROLLS *pRolls , /* Input */
SSC_T_PRODENV *pEnv , /* Input */
SSC_T_INTERV *pOper , /* Input */
SSC_T_SETUP *pSetup , /* Input */
SSCAPP_T_MEASPACK *pMeas , /* Input */
SSC_T_NEXTPASSREF *pNextPassRef, // output
INT32 *pStatus); //output

SSCAPP_T_CONN, SSC_T_Coil etc...are Strctures calling another Structues....
----------------------------------

JNI Code......

JNIEXPORT int JNICALL Java_sscdbutils_Main_sscAppAdapt
(JNIEnv *env, jobject obj, jobject pProject1,jobject pCoil1,jobject pRolls1,jobject pEnv1,jobject pOper1,jobject pSetup1,jobject pMeas1,jobject pNextPassRef1, jint pStatus1)
{

}

-------------
Java code.....

private native int sscAppAdapt(SSCAPP_T_CONN pProject1,SSC_T_COIL pCoil1,SSC_T_STANDROLLS pRolls1,SSC_T_PRODENV pEnv1,SSC_T_INTERV pOper1,SSC_T_SETUP pSetup1,SSCAPP_T_MEASPACK pMeas1,SSC_T_NEXTPASSREF pNextPassRef1,int pStatus1);
---------------------------

pl advice/guide me how to communicate java to c++,dlls using jni native. ASAP help plz.....

Regards,
M.G.Rajendra Prasad. cell:-9884378086,india
mgrprasad90@gmail.com

   <<Less
About | Sitemap | Contact