Quote Originally Posted by ChrisW67 View Post
Perhaps the third-party ActiveX object is writing to the process current working directory and failing because it is under "Program Files" or "Windows". Excel's working directory may well be writable and your app's not.

Try manually launching your program from a command prompt that has a writeable directory as its cuurent directory (or use the app desktop icon to achieve the same)
Thank you for your suggestion. That makes sense, but unfortunately it's not it :-(

I tried running both from Qt SDK (then the working dir is the build dir) and from a directory containing the Qt dlls. In both cases I have write permissions to the directory, but still no luck. If I right-click and "run as administrator", or create a shortcut and set compatibility mode for XP (which triggers the UAC dialog), then it works. (I just redid these tests to make sure).

Thanks again!