Page 1 of 1

Ayuda, Archivo Ini, Limitado a 346

PostPosted: Tue Dec 06, 2022 2:54 pm
by elmoiquique
Hola, tengo un archivo ini y en cada seccion de este tiene mas de mil registros, resulta que al leer cada seccion, solo me lee 346 registros y el resto los ignora,,, hay alguna solucion o algo estoy haciendo mal

Code: Select all  Expand view

 INI oIni File cPath+"\MCARGA.ini"
  cSection:="FECHA"
  cIniF:=cPath+"\MCARGA.ini"
  cEntry := StrTran(GetPVProfString(cSection, , ,cIniF), Chr(0), CRLF)
 
  if .not.Empty(cEntry)
   acNmFm:={}
   nEntries := MlCount(cEntry)
   ?nentries

 

Re: Ayuda, Archivo Ini, Limitado a 346

PostPosted: Tue Dec 06, 2022 8:15 pm
by Antonio Linares
Aumenta el tamaño de este buffer:

BYTE bBuffer[ 16384 ];

en el código de la función GETPVPROFSTRING() en FWH\source\winapi\profile.c