|
// SampleAdd.cpp : Implementation of CSampleAdd
#include "stdafx.h"
#include "SampleAdd.h"
// CSampleAdd
STDMETHODIMP CSampleAdd::Add(LONG FisrtNumber, LONG SecondNumber, LONG* ResultValue)
{
// TODO: Add your implementation code here
*ResultValue = FisrtNumber + SecondNumber;
return S_OK;
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
I strongly believe, a person's strongest point is to know his/her weak point. I try to be simple.
I have completed BSc in Computer Science & Engineering from Shah Jalal University of Science & Technology, Sylhet, Bangladesh
(SUST).
Watch out for my other
CodeProject Articles.