Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> convert number to VT_BOOL in developer

convert number to VT_BOOL in developer

From: Subramaniam <eng71662_at_leonis.nus.edu.sg>
Date: Wed, 22 Sep 1999 13:35:01 +0800
Message-ID: <Pine.SGI.4.02.9909221331130.28979-100000@leonis.nus.edu.sg>

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.



Hanlon's Razor: Never attribute to malice that which is adequately explained by stupidity. Received on Wed Sep 22 1999 - 00:35:01 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US