SDK, sapnwrfc, C++, rfcclose and memory
can somebody help me?
I have made a software in visual c++ 2005 using sapnwrfc.lib (release: i use the library in the file NWRFC_2-20002217.SAR). This software uses more and more memory each time I call RfcOpenConnection and RfcCloseConnection. Then I made a an other software with this simple loop:
myconnection = RfcOpenConnection( loginParams, 8, &errorInfo);
if (myconnection != NULL)
RfcCloseConnection( myconnection, &errorInfo);
and it also uses more memory at each step of the loop. I suppose, I have to free memory used by myconnection handle, but how to do this ?
Thanks in advance