Thread overview
Not colors under DOS
Apr 10, 2002
BoB Dilan
Apr 11, 2002
Walter
Apr 11, 2002
BoB Dilan
Apr 11, 2002
Walter
Apr 12, 2002
BoB Dilan
Apr 13, 2002
Walter
April 10, 2002
When i made an executable for DOS colors (disp_setattr functions) don't
appeared !
But when i made executable for Windows that's work.

Why ?


April 11, 2002
"BoB Dilan" <billyboy@legislator.com> wrote in message news:a915j9$1d0k$1@digitaldaemon.com...
> When i made an executable for DOS colors (disp_setattr functions) don't
> appeared !
> But when i made executable for Windows that's work.
>
> Why ?

I added an example that sets colors on the display in:

    www.digitalmars.com/rtl/disp.html



April 11, 2002
You have not understand my problem, Walter !!!

I CAN'T DISPLAY COLORS UNDER DOS, BUT I CAN UNDER WINDOWS.

I WOULD LIKE DISPLAY COLORS UNDER DOS,
WITH THE disp_setattr functions BUT IT DOESN'T WORK.

"Walter" <walter@digitalmars.com> a écrit dans le message news: a93bvt$n4o$1@digitaldaemon.com...
>
> "BoB Dilan" <billyboy@legislator.com> wrote in message news:a915j9$1d0k$1@digitaldaemon.com...
> > When i made an executable for DOS colors (disp_setattr functions) don't
> > appeared !
> > But when i made executable for Windows that's work.
> >
> > Why ?
>
> I added an example that sets colors on the display in:
>
>     www.digitalmars.com/rtl/disp.html
>
>
>


April 11, 2002
Post a code snippet here that you think ought to display colors so we can see what you're trying to do.

"BoB Dilan" <billyboy@legislator.com> wrote in message news:a93r5k$17nc$1@digitaldaemon.com...
> You have not understand my problem, Walter !!!
>
> I CAN'T DISPLAY COLORS UNDER DOS, BUT I CAN UNDER WINDOWS.
>
> I WOULD LIKE DISPLAY COLORS UNDER DOS,
> WITH THE disp_setattr functions BUT IT DOESN'T WORK.
>
> "Walter" <walter@digitalmars.com> a écrit dans le message news: a93bvt$n4o$1@digitaldaemon.com...
> >
> > "BoB Dilan" <billyboy@legislator.com> wrote in message news:a915j9$1d0k$1@digitaldaemon.com...
> > > When i made an executable for DOS colors (disp_setattr functions)
don't
> > > appeared !
> > > But when i made executable for Windows that's work.
> > >
> > > Why ?
> >
> > I added an example that sets colors on the display in:
> >
> >     www.digitalmars.com/rtl/disp.html



April 12, 2002
Ok, I post a code snippet here.


"Walter" <walter@digitalmars.com> a écrit dans le message news: a94r85$2egg$1@digitaldaemon.com...
> Post a code snippet here that you think ought to display colors so we can see what you're trying to do.
>
> "BoB Dilan" <billyboy@legislator.com> wrote in message news:a93r5k$17nc$1@digitaldaemon.com...
> > You have not understand my problem, Walter !!!
> >
> > I CAN'T DISPLAY COLORS UNDER DOS, BUT I CAN UNDER WINDOWS.
> >
> > I WOULD LIKE DISPLAY COLORS UNDER DOS,
> > WITH THE disp_setattr functions BUT IT DOESN'T WORK.
> >
> > "Walter" <walter@digitalmars.com> a écrit dans le message news: a93bvt$n4o$1@digitaldaemon.com...
> > >
> > > "BoB Dilan" <billyboy@legislator.com> wrote in message news:a915j9$1d0k$1@digitaldaemon.com...
> > > > When i made an executable for DOS colors (disp_setattr functions)
> don't
> > > > appeared !
> > > > But when i made executable for Windows that's work.
> > > >
> > > > Why ?
> > >
> > > I added an example that sets colors on the display in:
> > >
> > >     www.digitalmars.com/rtl/disp.html
>
>
>



April 13, 2002
"BoB Dilan" <billyboy@legislator.com> wrote in message news:a915j9$1d0k$1@digitaldaemon.com...
> When i made an executable for DOS colors (disp_setattr functions) don't
> appeared !
> But when i made executable for Windows that's work.
> Why ?

You need to use disp_puts() instead of puts().