Ayuda, Archivo Ini, Limitado a 346

Ayuda, Archivo Ini, Limitado a 346

Postby elmoiquique » Tue Dec 06, 2022 2:54 pm

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

 
Fivewin 11.07
elmoiquique
 
Posts: 297
Joined: Wed May 16, 2007 9:40 pm
Location: Iquique Chile

Re: Ayuda, Archivo Ini, Limitado a 346

Postby Antonio Linares » Tue Dec 06, 2022 8:15 pm

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
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41314
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 75 guests