« Previous Next »

Thread: Progress Report Callback from Custom InputFormat to C# Windows Form App

Last post 01-05-2006 5:27 PM by LogParser User : Klaus. 0 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (1 items)

Sort Posts:

  • 01-05-2006, 5:27 PM

    Progress Report Callback from Custom InputFormat to C# Windows Form App

    Hi,

    Did anybody try to extend the custom Input Format CoClass with a callback to a .Net Client application?

    Currently I create my InputFormat object in the STA main thread of my .Net WindowsForm application. The execute method could sometimes take a couple of minutes to complete. I'd like to display a progress report in the client Windows app. Besides it would be nice to send a "Cancel" message to the InputFormat object.

    I thought about extending my InputFormat class with a ConnectionPoint facility to fire call backs back to .Net and providing a progress report.

    I created a new ATL project and added a ConnectionPoint Container to my test InputFormat. I tried to test the input format object in command line mode with LogParser.exe.

    All attempts so far ended in Access Violations in LogParser.exe.

    Did anybody get a callback into .Net to work?

    Are the LogParser pdbs available somewhere?

     

    Thanks,

    Klaus

     

     

Page 1 of 1 (1 items)
Microsoft Communities