Advertisement

02.11.2008 at 02:28PM PST, ID: 23154619 | Points: 50
[x]
Attachment Details

create va_list from a array of char*

Asked by ramalaks in C++ Programming Language, Java Native Interface (JNI)

Tags: c++,java,JNI

I am writting a JNI function for a c++ funtion that takes fn(a,b,c,...) variable arguments.  from JAVA, i pass a collection type and in native implementation i will get a native_fn(a,b,c, jobjectArray varlist);

from varlist, i will create array of char* as my data is array of strings only.

I want to create a va_list from a array of char*. ( array of strings), so that i will introduce a new function in c++ fn(a,b,c,va_list) and pass my dynamically created va_list.
have anyone done this before. how to create va_list from array of char* ?Start Free Trial
 
 
Loading Advertisement...
 
[+][-]02.11.2008 at 02:34PM PST, ID: 20871001

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02.11.2008 at 02:37PM PST, ID: 20871028

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02.12.2008 at 03:33AM PST, ID: 20873958

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02.12.2008 at 10:44AM PST, ID: 20877469

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.12.2008 at 11:16AM PST, ID: 20877742

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628