Boost logo

Boost :

From: JOAQUIN LOPEZ MU?Z (joaquin_at_[hidden])
Date: 2005-03-03 19:09:22

----- Mensaje original -----
De: Jody Hagins <jody-boost-011304_at_[hidden]>
Fecha: Viernes, Marzo 4, 2005 0:37 am
Asunto: [boost] Looking for some WINDOWS help

> Whenever I get a spare moment, I try to get my typeid/type_info tests
> working on windows (I am convinced that if I had started programming
> under that environment, I would have chosen a different line of
> work).
> Right now I am struggling a bit with the DLL library that is part of
> testing type_info. Everything works fine, except when it doesn't
> ;->
> The documentation of LoadLibrary() says it returns NULL on
> failure.
> However, I can feed it some files (like a valid .LIB that is not a
> DLL)and before LoadLibrary() returns, it displays a dialog box
> saying "Bad
> Image." I guess this could be an exception that BCB is
> intercepting and
> turning into a dialog box, but the docs say nothing about an
> exception.
> Also, I look on google, and find that people have similar problems
> fromwithin Java (though I could not find any solutions).
> How do I prevent that from happening?

With SetErrorMode, I think.

Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo

Boost list run by bdawes at, gregod at, cpdaniel at, john at