[botan-devel] AccessViolationException

S J zx78 at live.com
Fri Jun 12 09:47:34 EDT 2015


Hello,

On trying to call LibraryInitializer I am getting AccessViolationException

My code (from Win32 Console application

#include "stdafx.h"
#include <botan/botan.h>

int _tmain(int argc, _TCHAR* argv[])
{
   try
      {
      Botan::LibraryInitializer init;

      // ...
      }
   catch(std::exception& e)
      {
      //std::cerr << e.what() << "\n";
      }
    return 0;
}

And error message

Unhandled exception at 0x0F12422E (botan.dll) in 
ConsoleApplication4.exe: 0xC0000005: Access violation reading location 
0x003B0000.
Error occurs at line 
Botan::LibraryInitializer init;Any help with this is appreciated. Thank you

Joseph
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.randombit.net/pipermail/botan-devel/attachments/20150612/80f1d661/attachment-0001.html>


More information about the botan-devel mailing list