VB, C++ interaction via ATL.

  1. Basic ATL server.

    How to build a basic C++, ATL server and call it from VB (VBA for Excel).
    How to support string arguments. BSTR and CComBSTR.


  2. Handling arrays packed in VARIANT and SAFEARRAY.

    How to support array arguments. SAFEARRAY, VARIANT, wrapper classes.
    How to resolve ambiguity within interface hierarchies.


  3. Handling arrays passed in raw form.

    How to exchange array data without doing any packing into VARIANT and SAFEARRAY.


  4. Handling a single custom object.

    How to pass a single custom objects via COM.


Hosted by www.Geocities.ws

1