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,422 of 10,840   
   J French to antony.clements@optusnet.com.au   
   Re: a problem with copymem API   
   17 Feb 07 09:22:15   
   
   From: erewhon@nowhere.uk   
      
   On Fri, 16 Feb 2007 23:09:35 +1100, "Antony Clements"   
    wrote:   
      
   >correction of mistake. i am only grabbing 4 bytes of both strings instead of   
   >the original 8 and am trying to generate a number between 0 and 255255255255   
   >from each 4 byte block of string   
      
   You could just use CopyMemory to slap the 4 character string into a 4   
   byte long   
      
   This is not reliable in Far Eastern locales which use Multi Byte   
   Character Sets, but with those areas the bets are off for strings.   
      
   I gather you are doing some sort of encryption.   
      
   --- 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