stickleprojects Level: Moderator Registered: 09-09-2002 Posts: 891
Large Hex/Binary Numbers
All,
I need to run AND comparisons against a 15-byte number.
e.g. &HFF01011AFF
VB is unable to do this.
I am currently fudging the math by splitting the bytes into chunks and then adding them, but this seems a blit clunky.
Any ideas?
____________________________
Build it better, faster, quicker, easier.. then fix it (non-offical MS mission statement)
01-09-2005 at 10:41 AM
|
JLRodgers Level: Moderator Registered: 04-04-2002 Posts: 1617
Re: Large Hex/Binary Numbers
If C++ can do it, create a small vb-compatible DLL to handle it?
Of course... not sure how you'd have to pass the number to it, but it'd probably work.
____________________________ Everywhere's Local (classifieds, job postings, & more for everycity in the world - user entered)
01-09-2005 at 10:28 PM
|
stickleprojects Level: Moderator Registered: 09-09-2002 Posts: 891
Re: Large Hex/Binary Numbers
Hey JL.. thanks for the response but c can't handle a union ofr more than 32 bits (rubbish language!!!)
i'm thinking of a b-tree (based on probablility=AND) but would rather something a bit less programmtic-intensive
thoughts guys?
Kieron
____________________________
Build it better, faster, quicker, easier.. then fix it (non-offical MS mission statement)