Rico

Members
  • Content Count

    1
  • Joined

  • Last visited

About Rico

  • Rank
    Member
  1. I am attempting to recreate a bit of C code into VB code however it is not cooperating. I have sample input and output of what the results should be in C lanugage but I have been unable to make a function in VB6 which will emulate the action. Simply put, I need to create a 16 bit CRC CCITT check that will produce the following... '// The following code is what I intend to accomplish (but have been unable to) in VB6 with actual inputs and actual results '//BEGIN Dim B(2) as Byte Dim s as String B(0) = 0 B(1) = 88 By(2) = 1 s = CRC16( s = "47EB" '//END '// The following code is what I have been