The following OC program will read 100 origin.ini files and append them all into a single note window (nwToKeep). On my computer it took 17 sec to execute.
void test()
{
Note nwToKeep;
nwToKeep.Create();
for(int ii = 0; ii < 100; ii++)
{
Note nwTemp;
// can replace with you real file here
string strFile = GetAppPath() + "origin.ini";
//
nwTemp.Create(CREATE_HIDDEN, strFile);
string strText = nwTemp.Text;
if(strText.GetLength() > 0)
{
nwToKeep.Text += "******\r\nFile" + (ii+1) + ":" + strFile + "\r\n******\r\n";
nwToKeep.Text += strText;
}
nwTemp.Destroy();
}
}
CP