I saw that h2pas translated: typedef void(*callback)(int pos, void* userdata); to callback = procedure (pos:cint; var userdata:pointer);cdecl; shouldn't it be? callback = procedure (pos:cint; userdata:pointer);cdecl; Paulo Costa