XSLPtoVBString


Purpose
Return a string to VB given its address in Xpress-SLP
Synopsis
Function XPRS_CC XSLPtoVBString (adrstr As Long) As String
Argument
adrstr 
The address of a string in Xpress-SLP
Return value
Example
The following example shows how XSLPtoVBString can be used in a VB message callback:
Public Sub messagecb(ByVal prob As Long, 
                    ByVal object As Long, ByVal msg As Long, 
                    ByVal length As Long, ByVal msgtype As Long) 
	Debug.Print("LOG: " & XSLPtoVBString(msg))
End Sub
This prints any messages to the immediate window in the VB editor.
Further information

This function is part of the VB interface and is not available (or indeed useful) in the standard Xpress-SLP API.

If XSLPsetcbmessage is used from VB, then the message pointer which is returned to the callback function must be converted using XSLPtoVBString before it can be used.


Related topics
XSLPsetcbmessage, XSLPsetcbmessageF


If you have any comments or suggestions about these pages, please send mail to docs@dashoptimization.com.