home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.visual.basic      MS Visual Basic discussions, NOT dot-net      10,840 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 10,415 of 10,840   
   J French to antony.clements@optusnet.com.au   
   Re: a problem with copymem API   
   16 Feb 07 07:52:42   
   
   From: erewhon@nowhere.uk   
      
   On Fri, 16 Feb 2007 09:46:04 +1100, "Antony Clements"   
    wrote:   
      
   >if stream1 has a value of 1a2b3c4d i want bytearray() to return the asc   
   >value of the string. the only way i know how to do this is take each   
   >character convert to ascii and then place in a string and then place the   
   >string in bytearray(). i'm looking for a simpler way. var1 and var2 are   
   >always returning the value of 1306840 regardless. bytearray() will return   
   >1a2b3c4d. i am copying the bytearray variables to long variables. the   
   >problem will be solved once var1 and var2 are correct values.   
      
   I still don't follow what you are trying to do.   
      
   It looks as if you want to compute some sort of 32 bit number from an   
   8 character String.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca