... ATxId, ACpfCnpj, PagAtual, ItensPorPagina, sResposta, esTamanho) Where aDataInic and aDataFim are from DATE type. That i've declared by this way: DLL32 FUNCTION PIXCD_ConsultarPixRecebidos(ADataInicio AS _DOUBLE,ADataFim AS _DOUBLE,ATxId AS STRING,; ACpfCnpj AS STRING, PagAtual AS _INT, ItensPorPagina ...