CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Igor Vartanov

Search: Search took 0.15 seconds.

  1. Replies
    25
    Views
    22,088

    Re: COleVariant in WinAPI (afxdisp.h)

    I would recommend to stick with some particular approach/style, and never mix ones. You either go with bare VARIANT or use _variant_t the way I showed it in my snippet.
  2. Replies
    25
    Views
    22,088

    Re: COleVariant in WinAPI (afxdisp.h)

    . . .
    #include <comdef.h>
    . . .

    HRESULT CMSExcel::SetExcelValue(LPCTSTR szRange,LPCTSTR szValue,bool bAutoFit, int nAlignment)
    {
    if(!m_pEApp) return E_FAIL;
    if(!m_pActiveBook) return...
Results 1 to 2 of 2





Click Here to Expand Forum to Full Width

Featured