dll from pdc34dllu.zip doesn't support color

Help
l33tnerd
2009-10-12
2013-04-25
  • l33tnerd
    l33tnerd
    2009-10-12

    I'm using PDCurses and ctypes to provide a Python binding to pdcurses on Windows. The dll I'm using is from pdc34dllu.zip, which pops up a window instead of using the console. However, when I run my program, for some reason, it doesn't show colors (my script has a test of colors at the very end). The sourcecode can be downloaded at .
    Does anyone know why this happens?

      : http://www.box.net/shared/8a0lbxoj6j

     
  • (Hmm, that site wouldn't show me the file at first, but it did when I tried it again.)

    You need to call start_color() before colors will work.

     
  • l33tnerd
    l33tnerd
    2009-10-13

    Oh, thanks. I didn't realize that…I guess I should learn more C before trying something like this.

    Thanks for helping me.