1727c1727 < int res; --- > int res; int i; 1742c1742,1745 < res = SetDIBitsToDevice(hDC,0,0,width,height,0,0,0,height,image->data,&bmInfo,DIB_RGB_COLORS); --- > for (i=0; i < height; i++) { > res = SetDIBitsToDevice(hDC,dx,dy+i,width,1,sx,sy+i,0,i+1,image->data,&bmInfo,DIB_RGB_COLORS); > if (res==0) break; > }
Obviously, you have to replace the 'c:\cygwin\bin' with the ms-dos path name of your /bin directory. You also *must* use Windows tools (e.g., "copy" or GUI "drag and drop") to copy the DLL to its new home since you can't easily overwrite a busy DLL.
http://www.gnu.org/manual/cvs-1.9/html_node/cvs_86.html#SEC88 > In place of the command name you can use cvs to > specify global options (see section Global options). > For example the following line in `.cvsrc' > > cvs -z6 > > causes CVS to use compression level 6
これを読んで「-d も global option だから"cvs -d /usr/local/cvsroot"を .cvsrcに追加すればいいのか」と思ったわけです。周りに聞ける人が いないのでこういうときにいつも困ってしまうのですが、今回はここで教えてもらって 助かりました。これで安心してプログラムが組めます。