Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
V

venkatesh52867

@venkatesh52867
About
Posts
35
Topics
20
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • windows 8 custom credential provider
    V venkatesh52867

    Hi, i am working for windows 8 wrapped credential provider .i did every thing in document which is provided by Microsoft .i implemented ICredentialProviderCredential2 interface with GetUserSid(__deref_out PWSTR *ppszSid) method,i am able to get sid .but my credential provider showing like other user tile ,but widows default credential showing password text box only,why my credential showing username text box and password text box. please help about this Thanks

    COM help

  • win32 dialogbox with custom control not displaying in windows 8 64bit
    V venkatesh52867

    my dll is custom credential provider .this dll provide a link in windows logon screen,this link will display win32 dialog with custom control.this is working for windows 7 32&64 bit and windows 8 32bit.but 64 bit windows 8 every thing is coming fine dialog only not displaying . Thanks

    COM

  • win32 dialogbox with custom control not displaying in windows 8 64bit
    V venkatesh52867

    hi, in my dll i am calling win32 dialog with custom control it working in 32 bit windows 8 machine but it is not display in 64 bit windows 8 machine. anyone tell me solution . Thanks

    COM

  • Implementation two interfaces in one class
    V venkatesh52867

    hi, ok but that is not problem when i called ICredentialProviderSetUserArray ==riid probblem is occurring if (IID_IUnknown == riid || IID_ICredentialProvider == riid || IID_ICredentialProviderSetUserArray ==riid) { Thanks

    COM help

  • Implementation two interfaces in one class
    V venkatesh52867

    Hi, please check this code.i am highlighted with bold that code add then it is crashing. #pragma once #include #include #include #include "PasswordResetCredential.h" #include "helpers.h" class CSampleProvider : public ICredentialProvider,public ICredentialProviderSetUserArray { public: // IUnknown STDMETHOD_(ULONG, AddRef)() { return _cRef++; } STDMETHOD_(ULONG, Release)() { LONG cRef = _cRef--; if (!cRef) { delete this; } return cRef; } STDMETHOD (QueryInterface)(REFIID riid, void** ppv) { HRESULT hr; if (IID_IUnknown == riid || IID_ICredentialProvider == riid ||IID_ICredentialProviderSetUserArray==riid) { *ppv = this; reinterpret_cast(*ppv)->AddRef(); hr = S_OK; } else { *ppv = NULL; hr = E_NOINTERFACE; } return hr; } public: IFACEMETHODIMP SetUsageScenario(CREDENTIAL_PROVIDER_USAGE_SCENARIO cpus, DWORD dwFlags); IFACEMETHODIMP SetSerialization(const CREDENTIAL_PROVIDER_CREDENTIAL_SERIALIZATION* pcpcs); IFACEMETHODIMP Advise(__in ICredentialProviderEvents* pcpe, UINT_PTR upAdviseContext); IFACEMETHODIMP UnAdvise(); IFACEMETHODIMP GetFieldDescriptorCount(__out DWORD* pdwCount); IFACEMETHODIMP GetFieldDescriptorAt(DWORD dwIndex, __deref_out CREDENTIAL_PROVIDER_FIELD_DESCRIPTOR** ppcpfd); IFACEMETHODIMP GetCredentialCount(__out DWORD* pdwCount, __out DWORD* pdwDefault, __out BOOL* pbAutoLogonWithDefault); IFACEMETHODIMP GetCredentialAt(DWORD dwIndex, __out ICredentialProviderCredential** ppcpc); IFACEMETHODIMP SetUserArray (__in ICredentialProviderUserArray * users); friend HRESULT CSampleProvider_CreateInstance(REFIID riid, __deref_out void** ppv); protected: CSampleProvider(); __override ~CSampleProvider(); private: void _CleanUpAllCredentials(); private: LONG _cRef; CSampleCredential **_rgpCredentials; // Pointers to the credentials which will be enumerated by this // Provider. ICredentialProvider *_pWrappedProvider; // Our wrapped provider.

    COM help

  • Implementation two interfaces in one class
    V venkatesh52867

    Hi, Problem is this || IID_ICredentialProviderSetUserArray when i call IID_ICredentialProviderSetUserArray interface through Quareyinterface dll is crashing without implementing ICredentialProviderSetUserArray interface dll is working is fine . thanks

    COM help

  • Implementation two interfaces in one class
    V venkatesh52867

    Hi, i have implemented two interfaces in class CSampleProvider : public ICredentialProvider,public ICredentialProviderSetUserArray { ....

    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

    COM help

  • How can i get date valu from ADSI with c++ code
    V venkatesh52867

    Hi Richard, Thanks for reply .The method is return success var.date value returns 2.613867737909e-316#DEN . i am not able to understand this value.

    C / C++ / MFC c++ help question

  • How can i get date valu from ADSI with c++ code
    V venkatesh52867

    Hi, i am not able to get Date value from ADSI directory VARIANT var; hr = ADsOpenObject(path,NULL,NULL,0, IID_IADsUser, id**)&pUsr); HRESULT h1= pUsr->Get(L"pwdLastSet", &var); INT8 bb=var.date; This code is not working pwdLastSet type is integer8 .it stores date value how can i get date value from adsi with c++ code please help anyone

    C / C++ / MFC c++ help question

  • How can i get date valu from ADSI with c++ code
    V venkatesh52867

    Hi, i am not able to get Date value from ADSI directory hr = ADsOpenObject(path,NULL,NULL,0, IID_IADsUser, id**)&pUsr); HRESULT h1= pUsr->Get(L"pwdLastSet", &var); INT8 bb=var.date;

    C / C++ / MFC c++ question

  • get objectSid in ADSI with c++ code
    V venkatesh52867

    it is objectSid.

    C / C++ / MFC c++ com help

  • get objectSid in ADSI with c++ code
    V venkatesh52867

    Hi, i am not able to get objectSid from adsi .i able to get string attributes like cn,DN.. but hr = ADsGetObject(L"LDAP://CN=nitin n,CN=Users,DC=northwing,DC=Com", IID_IADs, (void**) &pADs ); pUsr->Get(L"objectSid ",&var) method not working for objectSid. please help me. Thanks

    C / C++ / MFC c++ com help

  • error handling in c++ dll
    V venkatesh52867

    Hi, I have one function which is return string array in my C++ dll .from this function how can return error .please help me . Thanks

    C / C++ / MFC help c++ data-structures

  • get all domains in ADSI forest
    V venkatesh52867

    hi, i have to implement one method to get all domain names from adsi forest in c++ anyone tell that how can do that in c++. thanks

    COM c++

  • get all domains form adsi forest
    V venkatesh52867

    hi, i have to implement one method to get all domain names from adsi forest in c++ anyone tell that how can do that in c++. thanks

    C / C++ / MFC c++

  • ICredentialProviderFilter
    V venkatesh52867

    hi i was implemented ICredentialProviderFilter in my custom credential provider it is switch user button not showing. ie: it is showing only my custom credential provider it is not showing my other credentials please help me anyone

    C / C++ / MFC help

  • RegOpenKeyEx
    V venkatesh52867

    ret =2 that RegOpenKeyEx returns 2 LONG ret =RegOpenKeyEx(HKEY_LOCAL_MACHINE,"SOFTWARE\\Apache Software Foundation\\Tomcat\\7.0\\Tomcat7", 0, KEY_ALL_ACCESS, &hKey); this not success

    C / C++ / MFC apache windows-admin help announcement

  • RegOpenKeyEx
    V venkatesh52867

    hi, return value ERROR_FILE_NOT_FOUND. but path of key correct

    C / C++ / MFC apache windows-admin help announcement

  • RegOpenKeyEx
    V venkatesh52867

    Hi, i am trying to read registry key value the code is this unable to get key value whats wrong this code LONG ret =RegOpenKeyEx(HKEY_LOCAL_MACHINE,"SOFTWARE\\Apache Software Foundation\\Tomcat\\7.0\\Tomcat7", 0, KEY_ALL_ACCESS, &hKey); if(ret == ERROR_SUCCESS) { RegQueryValueEx( hKey, "Version",NULL, 0, (BYTE*)value, &size); } MessageBox(value); RegCloseKey(keyHandle)

    C / C++ / MFC apache windows-admin help announcement

  • how can update .properties file
    V venkatesh52867

    hi, i need to update .properties file example**

    log4j.logger.PXPBroker=TRACE, C, fileappender
    log4j.additivity.PXPBroker=false
    log4j.appender.C=org.apache.log4j.ConsoleAppender
    log4j.appender.C.layout=org.apache.log4j.PatternLayout
    log4j.appender.fileappender=org.apache.log4j.RollingFileAppender
    log4j.appender.fileappender.File=C:/pxpserver/logs/pbesb.log

    **i want to update these values in c++ please help me.

    C / C++ / MFC announcement
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups