convert number to VT_BOOL in developer

From: Subramaniam <eng71662_at_leonis.nus.edu.sg>
Date: Wed, 22 Sep 1999 13:36:08 +0800
Message-ID: <Pine.SGI.4.02.9909221335300.28979-100000_at_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 - 07:36:08 CEST

Original text of this message