On 10/01/2013 at 04:32, xxxxxxxx wrote:

User Information:
Cinema 4D Version:   R14 
Language(s) :     C++  ;

I'm using (or trying to use) RestartApplication() in a plugin to, well, restart Cinema automatically. When the function is called, Cinema sits there for about 20 seconds completely unresponsive before eventually restarting. Sometimes I get that 'QTCF.DLL is missing from your computer' message that many people seem to get from time to time. (Needless to say, it's not missing.)

This happens with plugins from other sources, not just by me. Anyone know why this happens? It's annoying to get this delay. I have also used CallCommand(12104) and that works fine, but it's just the Quit command, not restart. What I'm trying to say is that the problem doesn't appear to be in quitting, it's in the restarting.

Anyone have any comments? Is there something I need to do before calling RestartApplication() to speed things up?



On 24/01/2013 at 15:39, xxxxxxxx wrote:

I have just checked the RestartApplication() function from a C++ plugin, Windows 7 64Bit,
32Bit Cinema 4D R14.025. No problems here.

On 25/01/2013 at 00:17, xxxxxxxx wrote:

Thanks Niklas. It's a problem in our plugin, I'm sure. For some reason it isn't shutting something down when restart is called. We're looking into it.