Re: Typecasting in JCC (i think..)

2012-01-31 Thread Petrus Hyvönen
Hi, Is there a way of specifying which java SDK to link to? On my windows 7 machine it wants to use Java SDK 1.7 but I would like to keep it at SDK 1.6? Is this possible? Regards

Re: Typecasting in JCC (i think..)

2012-01-31 Thread Andi Vajda
On Tue, 31 Jan 2012, Petrus Hyvönen wrote: Is there a way of specifying which java SDK to link to? On my windows 7 machine it wants to use Java SDK 1.7 but I would like to keep it at SDK 1.6? Is this possible? When you build jcc, you choose which JDK you compile with and link to via the

Re: Typecasting in JCC (i think..)

2012-01-28 Thread Andi Vajda
On Jan 28, 2012, at 9:15, Petrus Hyvönen petrus.hyvo...@gmail.com wrote: Hi all, I have a problem which I think is due to typecasting, I have wrapped a function that has following input types: TLE(jint, jchar, jint, jint, const ::java::lang::String , jint, jint, const

Re: Typecasting in JCC (i think..)

2012-01-28 Thread Andi Vajda
Hi Petrus, On Sat, 28 Jan 2012, Petrus Hyvönen wrote: Thanks for the prompt reply, Yes, no difference, it treats it as an int in that case. InvalidArgsError: (type 'TLE', '__init__', (, 65, 2000, 1, 'A', 0, 1,... In the error message, it seems like int,float,string are printed without

Re: Typecasting in JCC (i think..)

2012-01-28 Thread Andi Vajda
On Sat, 28 Jan 2012, Petrus Hyvönen wrote: Hi Andi, Many many thanks for your answer, using the u'A' worked perfectly! I wouldn't have figured that out myself. Use the source, Luke /me ducks Andi.. Big thanks. Regards /Petrus On Jan 28, 2012, at 11:05 PM, Andi Vajda wrote: Hi