I have a slight problem, I need to get the address of a perl variable
which was used as an argument to a user defined function?
Example:
$sth->bind_param(1,$var_in_question[,%attribs])
bind_param is defined in the DB2.xs file and ends up calling a C
function which has to have the memory address of $var_in_question.
$sth->bind_param(1,$var_in_question[,%attribs])
dbd_bind_ph(arg1, arg2, arg3, arg4)
SQLBindParameter(argA,argB,argC,argD,argE,argF,argG,&arg3,argH,argI)
where &arg3 needs to be the address of $var_in_question
Thanks.
Mike
------------------------------------------------------------------------------
Michael H. Moran | Standard Disclaimer: The content of
mhm@austin.ibm.com | this posting is independent of
Commercial Performance | official IBM position.
IBM Corporation, Austin, Texas |
which was used as an argument to a user defined function?
Example:
$sth->bind_param(1,$var_in_question[,%attribs])
bind_param is defined in the DB2.xs file and ends up calling a C
function which has to have the memory address of $var_in_question.
$sth->bind_param(1,$var_in_question[,%attribs])
dbd_bind_ph(arg1, arg2, arg3, arg4)
SQLBindParameter(argA,argB,argC,argD,argE,argF,argG,&arg3,argH,argI)
where &arg3 needs to be the address of $var_in_question
Thanks.
Mike
------------------------------------------------------------------------------
Michael H. Moran | Standard Disclaimer: The content of
mhm@austin.ibm.com | this posting is independent of
Commercial Performance | official IBM position.
IBM Corporation, Austin, Texas |