How To Pass a String Between Visual Basic and Your C DLL
When creating a C dynamic-link library (DLL) for use with Visual Basic, it is important to remember that C and Visual Basic treat strings differently. You must take every precaution to ensure that all strings are passed correctly; otherwise, a......