borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (Deleting sprites in BITBLT)Next Topic (TreeView+ListView control) New Topic New Poll Post Reply
AndreaVB Forum : VB General : Large Hex/Binary Numbers
Poster Message
stickleprojects
Level: Moderator


Registered: 09-09-2002
Posts: 891

icon 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
View Profile Send Email to User Show All Posts | Quote Reply
JLRodgers
Level: Moderator

Registered: 04-04-2002
Posts: 1617
icon 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
View Profile Send Email to User Show All Posts Visit Homepage | Quote Reply
stickleprojects
Level: Moderator


Registered: 09-09-2002
Posts: 891
icon 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)

24-09-2005 at 02:13 AM
View Profile Send Email to User Show All Posts | Quote Reply
AndreaVB Forum : VB General : Large Hex/Binary Numbers
Previous Topic (Deleting sprites in BITBLT)Next Topic (TreeView+ListView control) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder