Platform MS Windows VC++ 6.0. sp? (I think 5)

Is there an updated version of aesphm that works with 5.0?

Alternatively how do I implement Put2 and the other pure virtual functions
to make it work.  I attempted this and now have a program that crashes with
a stack overflow.

Here is what I did, and it is wrong!

unsigned int AES_PHM_Encryption::Put2(const byte *inString, unsigned int
length, int messageEnd, bool blocking)
{
        unsigned int Result = 0;
        AES_PHM_AppendToBuffer(m_sbbPlaintext, m_nPlaintextBufSize,
m_nPlaintextLen, inString, length);

        if (messageEnd)
        {
                MessageEnd(messageEnd);
        }
        return Result;
}

because MessageEnd calls Filter::MessageEnd(messageEnd);
which somewhere in the stack calls Put2 on my Encryptor again.

Also some source I have found references BSL, but I can not find this any
hints?

Thanks in advance

Mark Simonton
Physician Micro Systems

Reply via email to