Menu

Exception "TRegKey::TRegKey: Init failed"

Junior Dev
2024-12-20
2024-12-20
  • Junior Dev

    Junior Dev - 2024-12-20

    Hello Everyone,

    While upgrading my project from OWLNext 6.44 to OWLNext 7 .
    Getting this error "TRegKey::TRegKey: Init failed " .

    // this is my customized class
    class BASEUTIL_API TPhRegKey : public TRegKey
    {
       public:
    TPhRegKey::TPhRegKey(THandle baseKey, const char far* keyName, REGSAM samDesired, TCreateOK createOK) : TRegKey(baseKey, keyName, samDesired, createOK)
    {
    }
    

    when i can see in newer owlnext version , in TRegKey class constructor throwing error when the key or value is not found in registry . is there any way by using it my application will run without giving any exception like previous owlnext version .

    plzz let me know if you have something related to this .
    Thanks !

     
  • Vidar Hasfjord

    Vidar Hasfjord - 2024-12-20

    @juniordev wrote:

    plzz let me know if you have something related to [TRegKey changes in OWLNext 7]

    See:

     

    Related

    Discussion: e7350279af
    Feature Requests: #151

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB