23rd March 2005, 02:10 PM | #1 |
Senior Member
Professional user
Join Date: Jul 2003
Posts: 899
|
AC3DPluginExit question
Hi Andy/all
Under what condition is AC3DPluginExit() called? Code placed here never seems to be executed during the lifespan of my AC3D session. AC3DPluginInit() and others (info/about) are called without problem. I'm using AC3D version 5, compiling on a Windows platform (xp pro). Here is my function: Code:
AC3D_PLUGIN_FUNC int AC3DPluginExit() { printf( "Plugin exit\n" ); FILE *fp = fopen( "C:\\x.txt", "w" ); fprintf( fp, "Hello!" ); fclose( fp ); return 0; } Am I doing something wrong here? Regards, Dennis |
|
|