I have an Excel spreadsheet with a lot of data. This data needs to be crunched, and returned to the sheet so graphs can be created. To accomplish this I wrote a ATL COM in C++ 6.0. To manipulate the data, from the main function I call private void functions and passes the data through referenced parameters.
When this COM returns to the spreadsheet, it is causing an Excel Access violation. However, when I comment out the calls to the private functions, it works fine. But I need the functions for the data to be correct.
I am new to ATL, and I may be missing something in the private function definations or prototypes. I did this the same way I would have done a regular C++ program.
Can anyone help?
When this COM returns to the spreadsheet, it is causing an Excel Access violation. However, when I comment out the calls to the private functions, it works fine. But I need the functions for the data to be correct.
I am new to ATL, and I may be missing something in the private function definations or prototypes. I did this the same way I would have done a regular C++ program.
Can anyone help?