RE: svn commit: rev 178 - trunk/subversion/clients/win32/svn_com
From: Bill Tutt <rassilon_at_lyra.org>
Date: 2001-09-28 23:49:07 CEST
I'm afraid I missed what the getAll parameter does, but you almost got it right.
You should use VARIANT_BOOL instead of BOOL for COM boolean parameters that need to be IDispatch friendly.
And given that you have an incoming VARIANT_BOOL, you need to convert from a VARIANT_BOOL to a normal BOOL.
E.g:
BOOL getAll;
getAll = (vbGetAll != VARIANT_TRUE ? FALSE : TRUE);
The reason you do this is because VARIANT_TRUE is -1 as opposed to TRUE which is 1.
FYI,
"Though we are not now that strength that in old days moved Earth and Heaven, that which we are we are; One equal temper of heroic hearts made weak by time and fate but strong in will to strive, to seek, to find, and not to yield." -- Tennyson
-----Original Message-----
Bill, since you're the author of this code, could you check that I did
Thanks,
brane@tigris.org wrote:
>Author: brane
-- Brane ÄŒibej <brane_at_xbc.nu> http://www.xbc.nu/brane/ --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org For additional commands, e-mail: dev-help@subversion.tigris.orgReceived on Sat Oct 21 14:36:42 2006 |
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.