Jump to content
Excelsior Forums

Sidnei

Members
  • Content count

    0
  • Joined

  • Last visited

    Never

Community Reputation

0 Neutral

About Sidnei

  • Rank
    Newbie
  • Birthday 01/01/01
  1. foo = new xFunction("Lingd80","int LSsetPointerLng (int,double*,int*)"); int pLINGO= 0; double nrSaldos[] = new double[2]; nrSaldos[0] = 0.00; nrSaldos[1] = 22.00; int nPointersNow[] = new int[1]; Argument[] args = new Argument[3]; args[0] = Argument.create("int", new Integer(pLINGO)); args[1] = Argument.create("double*", nrSaldos); args[2] = Argument.create("int*", nPointersNow); Pointer arg_nrSaldos = (Pointer) Argument.create("double*", nrSaldos); Pointer arg_nPointerNow = (Pointer) Argument.create("int*", nPointersNow); I Try those above , but the error is the same //nError = Lingo.LSsetPointerLng( pLINGO, nrSaldos, nPointersNow); nError = ( (Integer) foo(args)).intValue(); nError = ( (Integer) foo(args[0] , args[1],args[2])).intValue(); nError = ( (Integer) foo(new Argument(pLINGO) , arg_nrSaldos,arg_nPointerNow)).intValue(); What is wrong whit my code ? Some budy cam help me ?
×