Roughly it's something like this:
Code:
Declare Sub Process Lib "Process.dll" (ByRef sInt As Short, ByRef sString As MemInfo)
Structure MemInfo
<VBFixedString(100)> Dim sString As String
End Structure
Public Sub test()
Dim sSize As Integer
Dim sWord As MemInfo
sSize = 100
sWord.sString = "Hello: "
Call Process (sSize , sWord)
Messagebox.Show(sWord.sString)
End Sub
Don't expect this to work 100% right off the bat, I converted it using notepad.
__________________
Currently using: VS 2005 & 2008 Pro w/sp1 on Win7 Ultimate x64.

There are 3 kinds of people in the world: Those who can count and those who can't.
4 out of 3 people have trouble with fractions.
Windows has a 64 bit GUI for a set of 32 bit extensions on a 16 bit shell for an 8 bit OS using a 4 bit kernel made by a 2 bit company that can't stand 1 bit of competition.