Bildr - Feature Request: Avoid API Calls II - TempDir
Analysed the code in Lib WindowsAPI / LocateSystemTemp.
' read Temp environment
szTempPath=Environ$("Temp")
' read Tmp if Temp does not exist
If szTempPath="" Then
szTempPath=Environ$("Tmp")
End If
' will we ever get here ??
If szTempPath="" And (platform = "Windows/32") Then
Not sure, if the IF statement is ever evaluated on 99,9 % of the existing Windows installations. The environ$ should do the job. So I think, we can use only the environ$ part in the initialize event oif the (ImportPicture) agent. This would make the use of API Calls in this Agent obsolete.
Taken Actions by OwnersNo actions have been taken yet.