[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

XCreateColormap og AllocAll?



Jeg er i øjeblikket igang med mit første X program, og har lidt
problemer med
XCreateColormap!
Jeg laver en instans af Colormap, DGAColors som jeg vil initialisere ved

følgende komande:

DGAColors =
XCreateColormap(dis,DefaultRootWindow(dis),DefaultVisual(dis,DefaultScreen(dis)),AllocAll);

Denne linje kode kompiler fint men når jeg køre programmet får jeg
følgende fejl:

X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  78 (X_CreateColormap)
  Serial number of failed request:  16
  Current serial number in output stream:  18

Hvorfor kan den ikke det?

--
        -Jacob Kolding
        sslug@sslug

/*      God creates Man, Man creates AI, Man destroys God,      */
/*      AI destroys Man. Hence God's An AI                      */




 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 20:07 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *