Re: calendar problem when calling quantlib lib from java

Posted by Luigi Ballabio on
URL: http://quantlib.414.s1.nabble.com/calendar-problem-when-calling-quantlib-lib-from-java-tp5595p5607.html

On Wed, 2008-02-06 at 00:45 -0800, moloko wrote:

> I've got
> #include <jni.h>
>
> and
> JNIEXPORT jboolean JNICALL
> Java_com_ffm_marketData_calculation_QuantLibCalculation_
> (JNIEnv *env, jobject obj, jstring logFileName, jint max_days, jintArray
> or_array){
>
> and inside the function
> I'm calling "Calendar calendar = UnitedStates();" and other QL functions.

Pierre,
        are you allowed to post the code of your function? If not, maybe you
might strip it down to a simpler version that still triggers the error,
but doesn't give away any proprietary stuff?

Later,
        Luigi


--

So little done, so much to do.
-- Cecil Rhodes



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users