Re: [ROOT] Error SelectPalette for Pixmap - 0 in windows MSVC when debugging

From: Valeri Fine (fine@bnl.gov)
Date: Wed Dec 26 2001 - 05:48:44 MET


> Hi Rooters!
>
> If I do some (even) simple code using a canvas (example R-Quant demo)
> and use debugging in MSVC I get

  I don't think "R-Quant " is a "simple code"

> Error SelectPalette for Pixmap - 0
>
> errors since the latest 3.02.06 release.
> Not only that, but all colors are discplayed wrongly too!

  I did not realize any big corrections with any Win32 classes.

  The reported error is usually an indication of the "thread mess".
  It says the message targeted to the "real" windows has been delivered
  to the "shadow" memory resided  pixmap object.
  And usually it happens not with ROOT itself rather with stand-alone
  ROOT-based application.
  Usually the problem is cured by converting the stand-alone application
into
  ROOT-loadable DLL.

  Anyway I suspect that is a side effect of some bug elsewhere :-(
  (may be within R-Quant)
  Sorry I can not be more specific at this point.

  My best regards, Valeri

>
> Did anybody have similar experience (the same programs worked on all
> previous releases even in debug mode!)?
>
> Greetings
> Franz
>



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:14 MET