Click here to Skip to main content
15,503,579 members
Home / Discussions / COM
   

COM

 
GeneralRe: Creating Automation Project using Visual Studio 2010 and Excel 2010 Pin
ForNow25-Jul-13 15:39
ForNow25-Jul-13 15:39 
Questionwindows 8 custom credential provider Pin
venkatesh5286723-Jul-13 22:05
venkatesh5286723-Jul-13 22:05 
QuestionWord COM Object Error Pin
bganesan27-Jun-13 22:00
bganesan27-Jun-13 22:00 
Questionwin32 dialogbox with custom control not displaying in windows 8 64bit Pin
venkatesh5286725-Jun-13 22:37
venkatesh5286725-Jun-13 22:37 
SuggestionRe: win32 dialogbox with custom control not displaying in windows 8 64bit Pin
Richard MacCutchan26-Jun-13 0:23
mveRichard MacCutchan26-Jun-13 0:23 
GeneralRe: win32 dialogbox with custom control not displaying in windows 8 64bit Pin
venkatesh5286726-Jun-13 1:43
venkatesh5286726-Jun-13 1:43 
GeneralRe: win32 dialogbox with custom control not displaying in windows 8 64bit Pin
Richard MacCutchan26-Jun-13 2:38
mveRichard MacCutchan26-Jun-13 2:38 
QuestionImplementation two interfaces in one class Pin
venkatesh5286718-Jun-13 21:47
venkatesh5286718-Jun-13 21:47 
Hi,
i have implemented two interfaces in
class CSampleProvider : public ICredentialProvider,public ICredentialProviderSetUserArray
{
....
C#
STDMETHOD (QueryInterface)(REFIID riid, void** ppv)
    {
        HRESULT hr;
        if (IID_IUnknown == riid ||
            IID_ICredentialProvider == riid || IID_ICredentialProviderSetUserArray )
        {
            *ppv = this;
            reinterpret_cast<IUnknown*>(*ppv)->AddRef();
            hr = S_OK;
        }
        else
        {
            *ppv = NULL;
            hr = E_NOINTERFACE;
        }
        return hr;
    }

........


};

it is building with out errors .but when i execute dll logonui is
crashing .how can implement two interfaces in one class please help me
AnswerRe: Implementation two interfaces in one class Pin
Richard MacCutchan19-Jun-13 0:05
mveRichard MacCutchan19-Jun-13 0:05 
GeneralRe: Implementation two interfaces in one class Pin
venkatesh5286719-Jun-13 2:11
venkatesh5286719-Jun-13 2:11 
GeneralRe: Implementation two interfaces in one class Pin
Richard MacCutchan19-Jun-13 3:21
mveRichard MacCutchan19-Jun-13 3:21 
GeneralRe: Implementation two interfaces in one class Pin
venkatesh5286719-Jun-13 3:30
venkatesh5286719-Jun-13 3:30 
GeneralRe: Implementation two interfaces in one class Pin
Richard MacCutchan19-Jun-13 5:04
mveRichard MacCutchan19-Jun-13 5:04 
GeneralRe: Implementation two interfaces in one class Pin
Richard MacCutchan19-Jun-13 5:05
mveRichard MacCutchan19-Jun-13 5:05 
GeneralRe: Implementation two interfaces in one class Pin
venkatesh5286719-Jun-13 5:40
venkatesh5286719-Jun-13 5:40 
GeneralRe: Implementation two interfaces in one class Pin
Richard MacCutchan19-Jun-13 5:52
mveRichard MacCutchan19-Jun-13 5:52 
GeneralRe: Implementation two interfaces in one class Pin
ExcellentOrg7-Aug-13 0:05
ExcellentOrg7-Aug-13 0:05 
GeneralRe: Implementation two interfaces in one class Pin
Richard MacCutchan7-Aug-13 0:10
mveRichard MacCutchan7-Aug-13 0:10 
AnswerRe: Implementation two interfaces in one class Pin
H. Pham4-Sep-13 17:02
H. Pham4-Sep-13 17:02 
AnswerRe: Implementation two interfaces in one class Pin
DriveByCoder24-Mar-15 8:29
professionalDriveByCoder24-Mar-15 8:29 
QuestionSPECIAL CHARACTERS Pin
Hrpreet singh6-Jun-13 1:46
Hrpreet singh6-Jun-13 1:46 
QuestionImplement ILockBytes in C# (for I_IrmProtector) Pin
baloup16-May-13 3:40
baloup16-May-13 3:40 
Questionget all domains in ADSI forest Pin
venkatesh5286722-Apr-13 5:00
venkatesh5286722-Apr-13 5:00 
QuestionVoice call with Huawei USB Pin
tranduonghoan16-Apr-13 1:03
tranduonghoan16-Apr-13 1:03 
AnswerRe: Voice call with Huawei USB Pin
dusty_dex16-Apr-13 1:12
dusty_dex16-Apr-13 1:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.