Search found 102 matches: getpvprofstring

Return to advanced search

Re: fivewin 2023/07 y 2020/12 problemas al crear EXE

... hIni := 0 oServer := NIL nFlags := 0 ? File(".\connect.ini") If File(".\connect.ini") cServer := GetPvProfString("mysql","host" ," " ,".\connect.ini") cUser := GetPvProfString("mysql","user" ...
by CARLOS ATUNCAR
Thu Sep 14, 2023 4:01 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Problemas al migrar desde FWH2012 a FWH2307 - cerrado
Replies: 22
Views: 1675

Problemas al migrar desde FWH2012 a FWH2307 - cerrado

... LOCAL oServer LOCAL oErr,nFlags,cUser,cPassword,nPort,cServer hIni := 0 oServer := NIL nFlags := 0 If File(".\connect.ini") cServer := GetPvProfString("mysql","host" ," " ,".\connect.ini") cUser := GetPvProfString("mysql","user" ...
by CARLOS ATUNCAR
Tue Sep 12, 2023 11:53 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Problemas al migrar desde FWH2012 a FWH2307 - cerrado
Replies: 22
Views: 1675

Re: New FTDN July/Julio (FWH 23.07)

... no permite seguir usando otras clases como por ejemplo la de FastReport ya que habría q modificar y poner la ruta completa cServer := GetPvProfString("mysql","host" ," " ,Path+"connect.ini") en este caso he tenido que agregar la ruta para q la ...
by CARLOS ATUNCAR
Thu Aug 17, 2023 2:59 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN July/Julio (FWH 23.07)
Replies: 7
Views: 1062

FwH 2307 problema con la ubicacion de archivos

... la ruta si existe en la misma carpeta, ahora es necesario poner la ruta y nombre del archivo para q lo ubique como por ejemplo ahora cServer := GetPvProfString("mysql","host" ," " ,Path+"connect.ini") antes cServer := GetPvProfString("mysql","host" ...
by CARLOS ATUNCAR
Tue Aug 15, 2023 5:30 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: FwH 2307 problema con la ubicacion de archivos
Replies: 0
Views: 231

Re: Windows 7 / MSVS 2022 Crash

Looking at my codes I was in doubt if the function was GETPROFSTRING or GETPVPROFSTRING.
It happened right when the program opened an .INI file.
by Giovany Vecchi
Mon Apr 10, 2023 2:15 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Windows 7 / MSVS 2022 Crash
Replies: 32
Views: 2943

Re: Windows 7 / MSVS 2022 Crash

Simple, at the beginning of your program call the GetPvProfString function. No problem on windows 10, only on windows 7. It doesn't need changes in the source code, just include the profile.c file in the Make file, compile again and test the program. ...
by Giovany Vecchi
Mon Apr 10, 2023 2:02 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Windows 7 / MSVS 2022 Crash
Replies: 32
Views: 2943

Re: Ayuda, Archivo Ini, Limitado a 346

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
by Antonio Linares
Tue Dec 06, 2022 8:15 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda, Archivo Ini, Limitado a 346
Replies: 1
Views: 274

Re: AppCrash Windows 7 al leer INI

Fernando, Este es el código de la función GETPVPROFSTRING() Puede ser un desbordamiento de pila por el tamaño del buffer (16384). Prueba a poner cantidades mas pequeñas en el tamaño del buffer hasta que desaparezca el crash :-) Renombra la función ...
by Antonio Linares
Thu Aug 25, 2022 12:21 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: AppCrash Windows 7 al leer INI
Replies: 11
Views: 771

Re: AppCrash Windows 7 al leer INI

Fernando,

Por favor prueba a llamar la función del API de Windows directamente:

MsgInfo( GetPvProfString( cSection, cEntry, cValToChar( uDefault ), cIniFile ) )

y comprueba si sucede lo mismo. gracias
by Antonio Linares
Wed Aug 24, 2022 11:11 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: AppCrash Windows 7 al leer INI
Replies: 11
Views: 771

Problem to Filter a dbf error on day week

... local cGiorno := GetPvProfString(cSection, "Giorni","1111111", cIniFile) For k=1 to 6 //len(aGiorni) LMMGVS aadd(aCountGiorni,IIF(SubStr(cGiorno, ...
by Silvio.Falconi
Tue Jun 07, 2022 9:30 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem to Filter a dbf error on day week
Replies: 2
Views: 263

Re: Buffer size GetPvProfString() profile.c

Great! Many many thanks! :-)

EMG
by Enrico Maria Giordano
Thu Apr 07, 2022 1:48 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Buffer size GetPvProfString() profile.c
Replies: 2
Views: 336

Re: Buffer size GetPvProfString() profile.c

Dear Enrico,

Already modified for next FWH version

Also modified in GETPROFSTRING()

many thanks
by Antonio Linares
Thu Apr 07, 2022 1:33 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Buffer size GetPvProfString() profile.c
Replies: 2
Views: 336

Buffer size GetPvProfString() profile.c

Dear Antonio, can you increase the buffer size in GetPvProfString()?

Code: Select all  Expand view
#ifdef __HARBOUR__
   HB_FUNC( GETPVPROFSTRING )
#else
   HB_FUNC( GETPVPROFS )
#endif
{
   BYTE bBuffer[ 4096 ];


16384 would be great.

EMG
by Enrico Maria Giordano
Thu Apr 07, 2022 8:16 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Buffer size GetPvProfString() profile.c
Replies: 2
Views: 336

INI-files and mod harbour

... DESKTOP program, INI files online. You are used to so many entries. /* GetDBProfString( cSection, cEntry, uDefault, cIniFile ) - Syntax similar to GetPvProfString() function - If file extention of cIniFile is "ini", then the call is forwarded to GetPvProgString(). So, in - your application ...
by Otto
Mon Jan 03, 2022 8:21 am
 
Forum: mod_harbour
Topic: INI-files and mod harbour
Replies: 2
Views: 223

Re: many bug about local file/directory when name is utf8

nageswaragunupudi wrote:
a. read/write .ini, GetPvProfString/WritePProfString....


At present, these functions are not Unicode compatible.
We will provide Unicode compatible versions at the earliest.


Thank you!! wait for your solution!
by ssbbs
Fri May 28, 2021 1:09 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: many bug about local file/directory when name is utf8
Replies: 19
Views: 1401
Next

Return to advanced search