SdLicenseEx is taking long time to load license text of 908 KB
nResult = SdLicenseEx("","","","license.txt",FALSE);
This call is taking more than a min to display the license, can anyone please help me troubleshoot this?
Re: SdLicenseEx is taking long time to load license text of 908 KB
Hi @pgattu ,
Default limit for license file(.txt/.rtf) to be loaded by SdLicenseEx function is 64k only.In the case of .rtf they validate and won't load the content if you use the same function with sRtf falg TRUE.But in case of .txt file they will try to read using ListReadFromFile just like sample given below:
list = ListCreate( STRINGLIST );
if(!ListReadFromFile( list, szFinalFile )) then
CtrlSetMLEText( szDlg, SD_MULTEDIT_FIELD1, list );
ListDestroy( list );
That is why it takes around 60 secs to load,Did you give it a try with rtf file with same content?