_DllMain_/PROCESS_ATTACH, and then returned FALSE. That was a DLL for
Caliber UK I2C board. Its driver also listed KeBugCheck in its import table.
"Joseph M. Newcomer" <newcomer@flounder.com> wrote in message
I also missed the fact that this is in a DLL. I'm a firm believer that a
DLL should not
be popping up messageboxes. A DLL should do whatever it is supposed to
do, and if it
can't do it, it should return an error code and let someone else report
it.
Some of the worst third-party products that I've had the misfortune of
using (or being
victim of) exhibited a tendency to pop up meaningless messagebox calls
that the user could
not understand, but which represented situations I could have dealt with
had an error code
been returned. But the only error code returned was "FALSE" and
::GetLastError always
returned 0. Some of the worst design I've ever seen.
joe
On Thu, 15 Feb 2007 10:49:39 +0330, "Behzad" <b@y.c> wrote:
Hi,
I have a problem with AfxMessageBox,
I have a dll and in the dll I have a thread. when I give a message using
AfxMessageBox in that thread, there is an "Debug assertion failed" ,
any idea about it ?
thanks,
Behzad
Joseph M. Newcomer [MVP]
email: newcomer@flounder.com
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm