Forum Discussion

ramakanta_beher's avatar
ramakanta_beher
New Contributor
10 years ago

Unable to get results

Hi Team,



I am using AQtime 6 on WIndows 7. Is it supported ?

I used the Application  which is profiled ( both debug and release version ) but it always shows there is not leaks. but i am certain that there is memory leak.



Can anyone help me ?



Regards,

Ramakanta

2 Replies

  • AlexKaras's avatar
    AlexKaras
    Champion Level 3
    Hi Ramakanta,



    > I am using AQtime 6 on WIndows 7. Is it supported ?

    I am not sure. Is Windows 7 mentioned in the Operating System paragraph of the General Information|System Requirements help section?



    > but i am certain that there is memory leak.

    Can you provide here a section of code that you think creates a memory leak (or create a Support request via http://support.smartbear.com/support/message/?prod=AQtime) ?
  • {

     String fileName = L"C:\\RuntimeModelDumps\\";

     fileName.Append(RuntimeModel->Name);

     fileName.Append(L".txt");

     //******** convert String to (char *)  *********

     int length = fileName.GetLength();

     char * fName = new char[length+1];

     fName[length] = '\0';

     WideCharToMultiByte(CP_ACP,0,fileName,fileName.GetLength(),fName,length,"~",false);

     //******** end of convert **********************

     //Create path

     wofstream stream;

     stream.open( fName,ios::out );

     RuntimeModel->Dump(stream, L"");

     stream.close();

    }



    here fName is created on heap and it is cleanedup.



    I am not getting the location for the manual for AQTime 6 anymore.