XCreatePixmap: BadDrawable invalid Pixmap or Window parameter
Typically, the error XCreatePixmap: BadDrawable (invalid Pixmap or Window parameter) is displayed by applications that require a PseudoColor or 8 bit or palletized color. These applications are typically older; for example, some very old versions of Cadence only support PseudoColor modes.
PseudoColor support is always enabled in X-Win32 7.1 and earlier, but it is not the primary or default mode; some older X Clients do not search for a PseudoColor visual, they only try the default visual and they fail if it is not PseudoColor. You can open X-Config’s Color tab and check the PseudoColor Mode to make PseudoColor the default color mode; then restart X-Win32 and run your application again. If your application works, then it means that it is using a PseudoColor visual and that it needs this visual to be the primary or default visual (thus, you will have to leave this option enabled, even if it causes a degradation in other applications).

Solutions