CreateParameter changed (incompatibly) with MDAC 9 ?

From: Susak (susak3_at_yahoo.com)
Date: 05/21/04

  • Next message: Frank Hickman: "Re: How to monitor insert?"
    Date: 21 May 2004 08:27:20 -0700
    
    

    I'm having compilation problems because, I think, version 9.0.608.0 of
    msado15.dll seems to have a different type signature for the
    CreateParameter method of the Command object.

    The version 9 signature takes an enun BindTypeEnum parameter, which
    does not seem to be the case with machines having MDAC 2.8.

    >From a generated msado15.tlh:

        _ParameterPtr CreateParameter (
            _bstr_t Name,
            enum DataTypeEnum Type,
            enum ParameterDirectionEnum Direction,
            ADO_LONGPTR Size,
            const _variant_t & Value,
            enum BindTypeEnum BindType );

    Or am I misunderstanding, and this is something manufactured by the
    smart pointer wrapper?


  • Next message: Frank Hickman: "Re: How to monitor insert?"