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,420 of 10,840    |
|    Dean Earley to Antony Clements    |
|    Re: a problem with copymem API    |
|    16 Feb 07 12:24:32    |
      From: dean.earley@icode.co.uk              Antony Clements wrote:       > stream1 is a pseudorandom string that can containing every character       > available within the ansi standard with an undefined length. stream2       > has a defined length of 512 bits but can still contain any       > combination of characters within the full ansi standard. that is       > characters with an ascii code of 0 to 255. this means that var1 and       > var2 must hold a maximum number of 255255255255.              So you want ascii value string concatenation rather than just the       decimal value of the 4 byte string?              If this really is the case (I don't believe it is) then use the strconv       code I gave you and join the byte array items together in a string and       convert the result to a number rather than copymemory into a long.              > no data type that i know of will ever hold such a large number except       > maybe a type def variable. but i wouldnt know where to begin writing       > one to hold such a large number.              The currency data type will              > i don't think converting from unicode to ansi will have any positive       > effect on the rest of the code.              Yes it will, it will give you the real ascii values in a byte array       rather than utf16 unicode in a byte array.              You seem to be missing the point by a very long way here.              What EXACTLY do you have as input, what do you expect the intermediary       and final values to be?              --       Dean Earley (dean.earley@icode.co.uk)       i-Catcher Development Team              iCode Systems              --- 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