Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: [AVR-Chat] OT: .DLL coded in Visual C++, called in VB6; HELP!

2004-08-11 by Robert Adsett

At 03:25 PM 8/11/04 -0700, you wrote:
>sorry for the OT but i really have a hard time making this program run. im 
>new in VB.
>
>i have a code done in VB6. now, i want to manipulate every element 
>(character) of a string variable. i want to shift its bits to the left. my 
>professor told me that it can't be done in VB,

Before you get too hung up on this.  It is possible to shift in basic, it's 
just called multiply and divide.  A single left shift is a multiply by 2 
and a single right shift is a divide by 2.  That would save you the hassle 
of an interlanguage dll call.

Robert

" 'Freedom' has no meaning of itself.  There are always restrictions,
be they legal, genetic, or physical.  If you don't believe me, try to
chew a radio signal. "

                         Kelvin Throop, III

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.