I’ve (re)written a VB application that calls a broker in order to retreive information from ADABAS. My problem comes in sending information back through the broker. The information returned is a comma-delimited string that can be of many different lengths depending on the data that is found in the database. The VB problem doesn’t seem to recognize when the broker is done sending data.
I found a sample program on these forums to send variable-length data asynchonously through a broker to a java program. But the broker functions available to VB do not seem to include all the functionality of those available to Java (setMaxReceiveLength, setAdjustReceiveLength). In VB, I only seem to be able to set the ReceiveLength, not the MaxReceiveLength. And I haven’t found anything similar to setAdjustReceiveLength.
The VB side never returns from InvokeBrokerFunction, which with the old version of the Natural program I’ve rewritten would return when the broker was called from Natural to send the data retreived from ADABAS back to the VB side.
Any help would be much appreciated.