hi!

I have to use the Base64 encoding and decoding functionality. For this i
made a sample application on win32 platform using VC and compiled it.
But on running the same program it gave me Access violation exception.
Code part that i tested is :

        Line 1. int outputLength = 0;
        Line 2. int outputLength1 = 0;
        Line 3. XMLCh ch3[9] = {'t','e','s','t','d','a','t','a','\0'};
        Line 4. XMLCh* ch1 = Base64::encode(ch3, 9, &outputLength);
        Line 5. XMLCh* ch2 = Base64::decode(ch1,outputLength1);

Debugging this code gave "Access Violation Exception" while decoding the
encoded Base64 data at line 5.Please help me in this regard as i am
unable to find out the problem in this code.

Thanks
Tarun

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to