I have taken over maintaining a legacy code base for an Excel product that uses the XLLPlus Excel addin and am having trouble figuring out how to debug into the C++ code that is contained in the xll file.
The VBA project makes calls out to an xll file (compiled C++ similar to a dll file) and I've been trying to figure out how I can hit some breakpoints in the C++ code but haven't had any luck so far.
I created a debug version of the xll file and tried to attach Visual C++ 6.0 to the Excel 2007 process via the 'Build->Start Debug->Attach To Process' menu, but that list is empty. I tried using the suggestions here: The "Attach to process" list is empty in Visual C++ debugger to try to debug by going to the task manager and Debugging the process and also starting up Visual C++ with the Excel process attached. However when I do this, all I get is a 'EXCEL - Microsoft Visual C++ [run] - [Disassembly]' window instead of the process being debugged in my Visual C++ workspace.
Any help would be greatly appreciated.
The VBA project makes calls out to an xll file (compiled C++ similar to a dll file) and I've been trying to figure out how I can hit some breakpoints in the C++ code but haven't had any luck so far.
I created a debug version of the xll file and tried to attach Visual C++ 6.0 to the Excel 2007 process via the 'Build->Start Debug->Attach To Process' menu, but that list is empty. I tried using the suggestions here: The "Attach to process" list is empty in Visual C++ debugger to try to debug by going to the task manager and Debugging the process and also starting up Visual C++ with the Excel process attached. However when I do this, all I get is a 'EXCEL - Microsoft Visual C++ [run] - [Disassembly]' window instead of the process being debugged in my Visual C++ workspace.
Any help would be greatly appreciated.