[Botan-devel] LibraryInitializer problem in Win32
Jack Lloyd
lloyd at randombit.net
Sat Oct 20 11:26:46 EDT 2007
Yan,
To be honest I have never seen this error either with Botan or any
other VC compiled program so I'm somewhat in the dark. But:
- How did you compile Botan w VC8? ./configure.pl && nmake, or
through a workspace.
- What options did you pass to configure.pl if any?
- Did you compile the test application? Did it run OK?
- Can you get a backtrace or anything via a debugger?
- What OS? Vista? XP? This may be important.
-Jack
On Sat, Oct 20, 2007 at 10:31:33AM -0400, Yan Shpilsky wrote:
> Hello,
>
> Thanks again to Jack Lloyd for providing a working patch for the Sun
> compiler build.
>
> The application I was working on executes perfectly on Solaris and
> Linux using SUNWspro and g++, respectively. Now that I am porting it to
> Windows, however, I am having problems executing the same Botan code.
>
> I compiled the Windows version using Visual C++ 8, and the build had no
> issues. The program seems to execute exactly in the same way as it did
> in the POSIX platforms, but as soon as it reaches the Botan library
> initializer, I receive a strange message during runtime:
>
> This application has requested the Runtime to terminate it in an
> unusual way.
> Please contact the application's support team for more information.
>
> I have noted that this occurs on the line:
> LibraryInitializer init;
>
> I have also tried Botan::LibraryInitializer init; and have had the same
> result.
>
> Has anyone experienced this issue before when using Visual C++? I have
> looked around for causes of this, and this message seems to be a known
> occurrence when using various versions of Visual C++.
> I have tried the several solutions I have found that others have noted
> including uninstalling Google Toolbar and applying the appropriate
> Microsoft hotfix (support.microsoft.com/kb/884538).
> Nothing seems to be changing.
>
> I'm sure it's something simple, or maybe something that I overlooked,
> but if I can't fix this issue I may have to resort to an unsupported
> compiler and try my luck.
>
> Any help is appreciated.
> Regards,
> Yan
> _______________________________________________
> botan-devel mailing list
> botan-devel at randombit.net
> http://www.randombit.net/mailman/listinfo/botan-devel
More information about the botan-devel
mailing list