VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

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

Jean-Philippe Leconte  (3 Submissions)   Files/File Controls/Input/Output   Visual Basic 3.0   Beginner   Wed 3rd February 2021

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 (13(13 Vote))

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

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

No comments yet — be the first to post one!

Post a Comment

0/1000 characters