From: Jody Hagins (jody-boost-011304_at_[hidden])
Date: 2005-03-03 18:37:22
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 from
within Java (though I could not find any solutions).
How do I prevent that from happening?
Thanks in advance!
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk