VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Who said it had to be called msvbvm60.dll? under 1 SECOND FLAT FOR 20 MB VERSION 3

by Jean-Philippe Leconte (3 Submissions)
Category: Files/File Controls/Input/Output
Compatability: Visual Basic 3.0
Difficulty: Beginner
Date Added: Wed 3rd February 2021
Rating: (12 Votes)

This is is originally from Mark Withers .

Mark Withers Mark Withers Mark Withers

I do not want anyone to tell me I steal code.

I just wanted to show Mark how to Update is code...

I got it running under 1 second for a 20 Mb file... yes!!! under 1 second

no, no API required...

only pure VB optimization...

I first calculated all FileLen and Len before the loop... this is THE optimisation that did all the thing

then I used a buffer for looping through the file
and I added null chars at the end of the dll name if it was too short, because in C++, strings ends with null chars



I hope this helps you Mark



Best regards,

Jean-Philippe Leconte

Senior programmer

Win32/64 expert

C++ / VB

Rate Who said it had to be called msvbvm60.dll? under 1 SECOND FLAT FOR 20 MB VERSION 3

Download Who said it had to be called msvbvm60.dll? under 1 SECOND FLAT FOR 20 MB VERSION 3

Download Who said it had to be called msvbvm60.dll? under 1 SECOND FLAT FOR 20 MB VERSION 3 (4 KB)

Who said it had to be called msvbvm60.dll? under 1 SECOND FLAT FOR 20 MB VERSION 3 Comments

No comments have been posted about Who said it had to be called msvbvm60.dll? under 1 SECOND FLAT FOR 20 MB VERSION 3. Why not be the first to post a comment about Who said it had to be called msvbvm60.dll? under 1 SECOND FLAT FOR 20 MB VERSION 3.

Post your comment

Subject:
Message:
0/1000 characters