I will try to explain what happens. Here in Brazil we have to do tax changes and the government unified the sending of information and he is using this dll, I made another program NetExpress and the call went like this:
special-names.
call-convention 74 is winapi.
procedure division.
set aPointer to entry "BemaFI32.dll".
call "Bematech_FI_ProgramaHorarioVerao"
returning cmdstatus.
But in Visual Cobol not know how to do. Dll in this manual instruction is as follows:
char * TrocarCodigoDeAtivacao (
int numeroSessao;
char * codigoDeAtivacao;
int option;
char * novoCodigo;
char * confNovoCodigo
);