horace wrote: > hm... all HINSTANCE definitions i find in the windows sdk are void *. > > any other ideas? Not really. You may need to dig into the generated C code and find out exactly what the C compiler is complaining about. Somewhere there must be a mismatch between the Pyrex declarations and what the C compiler is seeing. -- Greg