Click here to Skip to main content
15,442,199 members
Home / Discussions / COM
   

COM

 
GeneralRe: Creating Automation Project using Visual Studio 2010 and Excel 2010 Pin
ForNow25-Jul-13 14:39
MemberForNow25-Jul-13 14:39 
Questionwindows 8 custom credential provider Pin
venkatesh5286723-Jul-13 21:05
Membervenkatesh5286723-Jul-13 21:05 
QuestionWord COM Object Error Pin
bganesan27-Jun-13 21:00
Memberbganesan27-Jun-13 21:00 
Questionwin32 dialogbox with custom control not displaying in windows 8 64bit Pin
venkatesh5286725-Jun-13 21:37
Membervenkatesh5286725-Jun-13 21:37 
SuggestionRe: win32 dialogbox with custom control not displaying in windows 8 64bit Pin
Richard MacCutchan25-Jun-13 23:23
mveRichard MacCutchan25-Jun-13 23:23 
GeneralRe: win32 dialogbox with custom control not displaying in windows 8 64bit Pin
venkatesh5286726-Jun-13 0:43
Membervenkatesh5286726-Jun-13 0:43 
GeneralRe: win32 dialogbox with custom control not displaying in windows 8 64bit Pin
Richard MacCutchan26-Jun-13 1:38
mveRichard MacCutchan26-Jun-13 1:38 
QuestionImplementation two interfaces in one class Pin
venkatesh5286718-Jun-13 20:47
Membervenkatesh5286718-Jun-13 20: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 MacCutchan18-Jun-13 23:05
mveRichard MacCutchan18-Jun-13 23:05 
GeneralRe: Implementation two interfaces in one class Pin
venkatesh5286719-Jun-13 1:11
Membervenkatesh5286719-Jun-13 1:11 
GeneralRe: Implementation two interfaces in one class Pin
Richard MacCutchan19-Jun-13 2:21
mveRichard MacCutchan19-Jun-13 2:21 
GeneralRe: Implementation two interfaces in one class Pin
venkatesh5286719-Jun-13 2:30
Membervenkatesh5286719-Jun-13 2:30 
GeneralRe: Implementation two interfaces in one class Pin
Richard MacCutchan19-Jun-13 4:04
mveRichard MacCutchan19-Jun-13 4:04 
GeneralRe: Implementation two interfaces in one class Pin
Richard MacCutchan19-Jun-13 4:05
mveRichard MacCutchan19-Jun-13 4:05 
GeneralRe: Implementation two interfaces in one class Pin
venkatesh5286719-Jun-13 4:40
Membervenkatesh5286719-Jun-13 4:40 
GeneralRe: Implementation two interfaces in one class Pin
Richard MacCutchan19-Jun-13 4:52
mveRichard MacCutchan19-Jun-13 4:52 
GeneralRe: Implementation two interfaces in one class Pin
ExcellentOrg6-Aug-13 23:05
MemberExcellentOrg6-Aug-13 23:05 
GeneralRe: Implementation two interfaces in one class Pin
Richard MacCutchan6-Aug-13 23:10
mveRichard MacCutchan6-Aug-13 23:10 
AnswerRe: Implementation two interfaces in one class Pin
H. Pham4-Sep-13 16:02
MemberH. Pham4-Sep-13 16:02 
AnswerRe: Implementation two interfaces in one class Pin
DriveByCoder24-Mar-15 7:29
professionalDriveByCoder24-Mar-15 7:29 
QuestionSPECIAL CHARACTERS Pin
Hrpreet singh6-Jun-13 0:46
MemberHrpreet singh6-Jun-13 0:46 
QuestionImplement ILockBytes in C# (for I_IrmProtector) Pin
baloup16-May-13 2:40
Memberbaloup16-May-13 2:40 
Questionget all domains in ADSI forest Pin
venkatesh5286722-Apr-13 4:00
Membervenkatesh5286722-Apr-13 4:00 
QuestionVoice call with Huawei USB Pin
tranduonghoan16-Apr-13 0:03
Membertranduonghoan16-Apr-13 0:03 
AnswerRe: Voice call with Huawei USB Pin
dusty_dex16-Apr-13 0:12
Memberdusty_dex16-Apr-13 0: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.