Skip to content
QtWS25 Call for Papers
  • 0 Votes
    5 Posts
    3k Views
    H

    now get_function it is ok

    now i want to call a function with two argument but ICAPLfunction::Call must have ten argument what should i do
    here my exemple:
    VARIANT p[10];
    p[0].lVal=1;p[1].lVal=4;p[2].lVal=0;p[3].lVal=0;p[4].lVal=0;p[5].lVal=0;p[6].lVal=0;p[7].lVal=0;p[8].lVal=0;p[9].lVal=0;
    VARIANT r;

    result4=fn->Call( p[0], p[1], p[2], p[3], p[4], p[5], p[6], p[7], p[8], p[9], &r);