Advanced Multiply Function

Category:
System/API
Type:
Snippets
Difficulty:
Intermediate
Author:
Timothy L Slater Jr.

Version Compatibility: Visual Basic 6, Visual Basic 5

More information:
This routine will allow you to multiply any two numbers together, regardless of size, without an overlow. If the result is too large, only the lower 32 bits of the result are returned. It uses a precompiled assembly.

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: