Hi All,
Thanks for all, Bad Alloc problem was solved.
one of the integer value is out of range that why the
problem.
Thanks again,
Bala.
--- Mark Vojkovich <[EMAIL PROTECTED]> wrote:
> On Wed, 5 Dec 2001, Ba la wrote:
>
> > Hi All,
> > Thanks for your valuable suggestions, I
> have
> > fased BadValue error in two of my programs, after
> > creating the color map using
> XCreateColormap()(instead
> > of default) this problem is solved in one of my
> > program, but the colors are comming some what
> > different manner, also
> XCreateColormap(...,AllocNone)
> > is working for AllocNone, it is giving error for
> > AllocAll, anyway I can able to run mutiple
> instances
> > also it is working when my netscape is open also.
>
> For TrueColor, you must use AllocNone as it
> says
> in the XCreateColormap man page. AllocAll in
> PseudoColor
> is the same as creating a new colormap and then
> calling
> XAllocColorCells on the whole thing.
>
> >
> > my question is ***
> >
> > * The same way I am creating the colormap in my
> > second program also, but it is giving the same
> error
> > as BadValue major opcode failed for request: 89
> > (X_StoreColors), when I am trying to debug the
> program
> > it is getting failed as soon as execution reached
> the
> > XAllocColor() fn., but after creation of my own
> > colormap it is not getting fail at
> XAllocColorCells()
> > function even though my netscape is opened.
>
> What was the question?
>
> >
> > * Is it really problem with XStoreColors or
> problem
> > with XAllocColorCells(now I am creating the color
> > map).
>
> What problem?
>
>
> Mark.
>
__________________________________________________
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com
_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert