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 liuwei, May 19, 2004.

  1. liuwei

    liuwei 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
    progress(i);
    end

    function []=progress(i)
    %#event
    i;
     
    liuwei, May 19, 2004
    #1
    1. Advertisements

  2. liuwei

    Sandy Guest

    Can you send the example for me ? Thanks !
     
    Sandy, Jun 3, 2004
    #2
    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.