Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> convert number to VT_BOOL in developer
i am integrating an activeX into oracle developer 6.0 and in one of the functions a number is converted into VT_BOOL by TO_VARIANT and then to VARPTR and then passed in. now this works fine with non-zero numbers and gives a true VT_BOOL value but fails when the number entered is zero (to generate a false VT_BOOL value). The internal function crashes then. can someone help? Thanks.
![]() |
![]() |