ATL Development   «Prev 

Adding a read-write property

PhBookObj.cpp

// PhBookObj.cpp : Implementation of
// CPhBookApp and DLL registration.

#include "stdafx.h"
#include "PhBook.h"
#include "PhBookObj.h"

STDMETHODIMP CPhBookObj::get_CurRec(long *pVal)
{
  // TODO: Add your implementation code here

    return S_OK;
}

STDMETHODIMP CPhBookObj::put_CurRec(long newVal)
{
  // TODO: Add your implementation code here

    return S_OK;
}