[Botan-devel] Re: botan-devel Digest, Vol 13, Issue 10

Jack Lloyd lloyd at randombit.net
Fri Dec 16 17:42:01 EST 2005


On Fri, Dec 16, 2005 at 05:35:50PM -0500, Carlton Davis wrote:
> I am actually able to get the simulator to execute C++ code
> during the simulation initialization time. I indicated that the
> first thing I want to do (before any other C++ code is
> executed) is to execute the following line:
> Init::initialize();
> Similarly, I directed it to execute "Init::deinitialize()"
> as the last line of C++ code.
> 
> The "Init::initialize()" line get executed but it is still
> throwing the Botan Invalid_State exception, ie I got the following
> output:
> "Botan::Invalid_State'
>   what():  Botan: LibraryInitializer not created, or it failed"
> 
> What am I doing incorrect here?
> 
> Your help is greatly appreciated.

Hrm... you said you have checked that the initializer runs... are you certain
that the shutdown function is not being called until the very end? I'm not
seeing anything obvious here, so that's pretty much my best guess at this
point.

-Jack




More information about the botan-devel mailing list