Need Help in add-in
-
Hi, Hope this is the right place to post this question. I'm writing an add-in in the MSVC++ 6.0 Environment. In the add-in I write to the 'macro' tab of the output window( The window where the build info, search info, etc. is displayed.). The content that is written to this window is in the format of the error messages generated by the VC6 compiler. This helps to go to the source line where the error has occured. My problem is that I wish to read from the macro tab of this output window the content of the error message (viz. error number, error description etc.) from the add-in code. Is there any way I can do it? It is easy to write to this window as an API(PrintToOutputWindow) in the IApplication class is provided. didn't find anyway to read from it. Can anyone help me? Thanks in advance. Achyut.
-
Hi, Hope this is the right place to post this question. I'm writing an add-in in the MSVC++ 6.0 Environment. In the add-in I write to the 'macro' tab of the output window( The window where the build info, search info, etc. is displayed.). The content that is written to this window is in the format of the error messages generated by the VC6 compiler. This helps to go to the source line where the error has occured. My problem is that I wish to read from the macro tab of this output window the content of the error message (viz. error number, error description etc.) from the add-in code. Is there any way I can do it? It is easy to write to this window as an API(PrintToOutputWindow) in the IApplication class is provided. didn't find anyway to read from it. Can anyone help me? Thanks in advance. Achyut.
>> In the add-in I write to the 'macro' tab of the output >> window If YOU are writing to 'macro' tab I think you can analyze that text immediately :) Or you want to get something else? Mike.
-
>> In the add-in I write to the 'macro' tab of the output >> window If YOU are writing to 'macro' tab I think you can analyze that text immediately :) Or you want to get something else? Mike.
thanks for replying. Yeah, I can do that then and there. But since I write the warnings generated by compiler to the 'macro' tab, I click on them later when I browse thru each warning. So I want the info of the warning I click on (rather doubleclick on). Is that possible? -Achyut
-
thanks for replying. Yeah, I can do that then and there. But since I write the warnings generated by compiler to the 'macro' tab, I click on them later when I browse thru each warning. So I want the info of the warning I click on (rather doubleclick on). Is that possible? -Achyut
Standart macros window allow you to open any file at any line. As I understand you want something more. I think you can spend several days and write code that subclass macros window, then catch doubleclick, then find selected line, then... I think you should make your own window with your design. And in that window you can do anything you like. Mike