MQUE.DLL 9 string buffers 120 char max length for each buffers numbered 0-8 FUNCTION int PutString(int nSlot, string pString) library "mque.dll" FUNCTION int GetString(int nSlot, ref string pString) library "mque.dll" FUNCTION int Test(ref string pString) library "mque.dll" FUNCTION int SetDebug(int iValue) library "mque.dll" FUNCTION int SetMode(int iValue) library "mque.dll" FUNCTION int PutString(int nSlot, string pString) library "mque.dll" nSlot = buffer number, range from 0 to 8 pString = string to store in buffer[nSlot] returns nSlot if successful on err returns -1 = illegal nSlot -2 = string too long (>120 char) FUNCTION int GetString(int nSlot, ref string pString) library "mque.dll" nSlot = buffer number, range from 0 to 8 pString = string to be assigned the string from buffer[nSlot] return strlen of string return < 0 if illegal nSlot FUNCTION int Test(ref string pString) library "mque.dll" use this as initial call to see that you have connected to the MQUE.DLL pString will return "Test string" return integer is version number of DLL FUNCTION int SetDebug(int iValue) library "mque.dll" iValue <> 0 to turn on debug mode (message boxes) iValue = 0 to turn off debug mode initial default is off FUNCTION int SetMode(int i) library "mque.dll" iValue <> 0 to turn on delete of each string after each GetString call iValue = 0 to turn off deletion, string will remain in slot until next PutString initial default is off