Does anyone know how to accomlish this? I have been trying to use the polyline function, I think that in order to do that I need to declare a bitmap, and a pen. Pasted below is my program to do this, however it doesn't compile. It seemed to create the bitmap before I added the createpen section although I don't know of anyone way that I could check that. I would greatly appreciate any explanation of what I need to do.
program chyeah (input,output);
function CreateBitmap(Width, Height:integer; Planes,Bitcount:byte; Bits:pointer): Hbitmap;
function CreatePen(penstyle, width:integer; color:tcolorref):hpen;