when I use COM Builder to create a com object with event, how can i use it in Visual C++?

Discussion in 'MATLAB' started by crackstone, May 23, 2004.

  1. crackstone

    crackstone Guest

    For example,I use the follow matlab code to
    build a com object. How can I use event in Visual c++ to tell the
    client that the calculating progress.

    function [out]=calsomething(in)
    %function [out]=calsomething(in)
    for i=1:10000

    function []=progress(i)

    There is an example for vb in COM Builder help files. But how about
    Visual C++?
    Can you give me some help?
    Best Regards.
    crackstone, May 23, 2004
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.