This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cni converting String args[]


* Andi Vajda (andi@osafoundation.org) ha scritto:
> 
> I don't see in your code where you allocate the memory for the strings to 
> be contained in char *arguments[argc] and where you add the terminating 
> '\0' to these buffers. JvGetStringURFRegion expects a pre-allocated buffer 

 You were right, I thought the allocation was done internally by the
JvGetStringURFRegion. Now it works, thanks.

 lj


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]