INTERACT FORUM

Windows => Plug-in Development => Topic started by: pbair on October 21, 2009, 01:29:47 pm

Title: ImportFile vs ImportFileBackground
Post by: pbair on October 21, 2009, 01:29:47 pm
What is the difference between MJFileAutomation * ImportFile and ImportFileBackground?

patrick
Title: Re: ImportFile vs ImportFileBackground
Post by: Matt on October 21, 2009, 03:30:33 pm
ImportFile(...) blocks and doesn't return until the file has been analyzed / imported.  It returns the new file.

ImportFileBackground(...) returns right away and the file is imported in a background thread.