search_results = File.Find("C:\\WINNT\\system32\\", "tsccvid.dll", true, true, nil);
if search_results then
Dialog.Message("Found File", "We found the codec.", MB_OK, MB_ICONINFORMATION, MB_DEFBUTTON1);
else
proceed = Dialog.Message("CODEC Not Available", "It appears that you do not have a CODEC needed to view the videos in this demo. Please click the OK button to install.", MB_OKCANCEL, MB_ICONINFORMATION, MB_DEFBUTTON1);
end
if proceed == IDOK then
File.Run("AutoPlay\\Docs\\TSCC.exe", "", "", SW_SHOWNORMAL, false);
end
I don't know why this always returns true, whether the dll is there or not. Any ideas?
Kurt
if search_results then
Dialog.Message("Found File", "We found the codec.", MB_OK, MB_ICONINFORMATION, MB_DEFBUTTON1);
else
proceed = Dialog.Message("CODEC Not Available", "It appears that you do not have a CODEC needed to view the videos in this demo. Please click the OK button to install.", MB_OKCANCEL, MB_ICONINFORMATION, MB_DEFBUTTON1);
end
if proceed == IDOK then
File.Run("AutoPlay\\Docs\\TSCC.exe", "", "", SW_SHOWNORMAL, false);
end
I don't know why this always returns true, whether the dll is there or not. Any ideas?
Kurt
Comment