10-13-2008 8:19 AM
Hello,
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, Version:7.11 patch 0). 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:
while(1)
{
RFC_CONNECTION_HANDLE myconnection;
myconnection = RfcOpenConnection( loginParams, 8, &errorInfo);
if (myconnection != NULL)
RfcCloseConnection( myconnection, &errorInfo);
Sleep(100);
};
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
Edited by: pol rivart on Oct 15, 2008 9:03 AM
Edited by: pol rivart on Oct 15, 2008 9:03 AM
10-15-2008 8:04 AM