Determining If A Byte Array or a String Is Initalized Using StrPtr
Version Compatibility: Visual Basic 6
I stumbled upon this one accidentally. The same function can be used to tell if a string or an array has been initialized. For arrays, it will only work with byte arrays.
Instructions: Copy the declarations and code below and paste directly into your VB project.