VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

CopyMemory example How is memory represented in VB?

IRBMe  (22 Submissions)   Windows API Call/Explanation   Visual Basic 5.0   Beginner   Wed 3rd February 2021

This is more of a tutorial than a code submission. It shows you how the LONG variable is represented in memory by VB. It also shows you how data types are represented in memory and how to place custom bytes into longs without having to figure out what numeber all 4 bytes would be etc. It uses a simple function to domenstarte this which converts a dotted string IP address to it's long representation (they way it's represented in memory). And to prove it works, you can test it alongside the real API function used to do this. The tutorial is integrated into the commenting. Leave some feedback.

Rate CopyMemory example How is memory represented in VB? (7(7 Vote))

Download CopyMemory example How is memory represented in VB?

CopyMemory example How is memory represented in VB? Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters