by D.Senthilathiban (1 Submission)
Category: String Manipulation
Difficulty: Advanced
Date Added: Wed 3rd February 2021
Rating: (5 Votes)
Fast String Searching & CRC checksum calculation in Visual Basic using pre compiled assembly code and memory mapped file concepts.This code is tested for binary comparison with ANSI code inputs only. UNICODE character input and strings having ligatures are not tested. It is up to the user to test the code with UNICODE/special character input and validate it. This is my first submission to VBC web site and I welcome your feedback and votes.
Inputs
FileName with path & search String
Assumes
It is assumed that the operating system is supporting virtual memory, paging concepts used for memory mapped files.
Code Returns
CRC32 Check sum value & first occurance position of the string pattern found in the file.
Side Effects
The program shall be closed by clicking close button given in the form otherwise the VB IDE will crash as the program uses the string mapping concepts adopted by Chris Lucas