02-23-2009, 06:56 PM
Thanks, Gintaras - i did try to set 'ws' and 'wb' to 0, but didn't think of the application variable...
But now i have descided to run the excel code in its own thread, started by 'mac' and a pointer to data structure.
Then waits for a flag to be set when data is ready. This works very well, and i don't have to think about destroying variables.
Joergen
But now i have descided to run the excel code in its own thread, started by 'mac' and a pointer to data structure.
Then waits for a flag to be set when data is ready. This works very well, and i don't have to think about destroying variables.
Joergen