Re: great



I have emailed the code to you directly.

"Les Stockton" <les.stockton@xxxxxxxxxxx> wrote in message
news:O5AphkWYFHA.3540@xxxxxxxxxxxxxxxxxxxxxxx
> This is very helpful but I'm new at this stuff. I'm certainly new to VB
and
> I've not done a lot of COM work.
> Is there any chance you can post what you did.
> I'm using VC6 and VB6.
> What's the purpose of adding the ATL object? Is this so that VB can call
> that, which in turn calls my C++ routine?

Your C++ routine becomes a method call within a COM object. This trivializes
the means by which VB can instantiate and pass parameters to your C++ code.
That is the whole purpose of using COM in the first place.

Brian


.



Relevant Pages

  • Re: MATLAB Central Spring Contest
    ... is the routine that checks for forbidden ... More than once in past contests I have ... call in helper code that I copied from a function I wrote ... for another purpose. ...
    (comp.soft-sys.matlab)
  • Re: Multiplying by a random number
    ... Abder-Rahman wrote: ... any context for what the routine is intended to do. ... Likely the purpose hasn't changed since you last asked about this ...
    (comp.soft-sys.matlab)
  • Re: optional or interface
    ... I need to modify the procedure to fit more extensible ... purpose. ... If you want a hard limit, then I'd say up at most two or three ... Beyond that, consider splitting up the routine, as ...
    (comp.lang.fortran)
  • Re: Halt execution procedure
    ... Here is my routine that I use sometimes for debugging the hard way. ... SUBROUTINE Pause ... !PURPOSE ...
    (comp.lang.fortran)
  • Re: optional or interface
    ... purpose. ... interface, since there will be lots of similar procedures and then ... If you want a hard limit, then I'd say up at most two or three ... Beyond that, consider splitting up the routine, as ...
    (comp.lang.fortran)