Search found 102 matches: getpvprofstring

Return to advanced search

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

a. read/write .ini, GetPvProfString/WritePProfString....


At present, these functions are not Unicode compatible.
We will provide Unicode compatible versions at the earliest.
by nageswaragunupudi
Thu May 27, 2021 4:07 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: many bug about local file/directory when name is utf8
Replies: 19
Views: 1428

many bug about local file/directory when name is utf8

1. filename change from english to uft8, ex: 'abc.exe to ' 中文龍咙.exe'
2. directory is utf8 name, ex: 'c:\temp\中文龍咙\'

a. read/write .ini, GetPvProfString/WritePProfString....
b. GetModulefileName/cFilePath....
by ssbbs
Thu May 27, 2021 2:52 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: many bug about local file/directory when name is utf8
Replies: 19
Views: 1428

Re: Another problem with new XbrGetDate

ahh ok
there is error with GetPvProfString command on HArbour not run
by Silvio.Falconi
Thu Jul 04, 2019 10:19 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Another problem with new XbrGetDate - RESOLVED!!!
Replies: 2
Views: 310

Another problem with new XbrGetDate - RESOLVED!!!

... file :      Local cIniFile  := TakeOffExt( GetModuleFileName( GetInstance() ) ) + ".ini"     Local dBassa1   := GetPvProfString("Stagioni", "BASSA1","17.05.", cIniFile)     Local dBassa4   := GetPvProfString("Stagioni", ...
by Silvio.Falconi
Wed Jul 03, 2019 11:17 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Another problem with new XbrGetDate - RESOLVED!!!
Replies: 2
Views: 310

Encrypt and Decrypt errors

On a ftp procedure I use this configuration to upload and download a file from fwh    Local cFtp     :=( pad(GetPvProfString("Config","Ftp" ,""   ,::cIniFtp ) , 60 ," " ) )   Local cFtpDir  :=( pad(GetPvProfString("Config","FtpDir" ...
by Silvio.Falconi
Tue Sep 11, 2018 8:15 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Encrypt and Decrypt errors
Replies: 9
Views: 1657

checkered sheet of paper from EASYREPORT

... have to use numeric values in the configuration file for areas and items. The configuration files are INI-files. You can use WritePProString and GetPvProfString. Every PRINTAREA is stored in a single file. In the REPORT Definition file ReportName.vrd is a key [Areas] where you see a list with ...
by Otto
Fri Nov 24, 2017 5:39 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: checkered sheet of paper from EASYREPORT
Replies: 5
Views: 1464

Re: To Marc -> A xBrowse-image colorpicker

... nOntop = 1, SetWindowPos( oDlgMain:hWnd, -1, 0, 0, 0, 0, 3 ), NIL ), ; // On Top defined in INI ... ... add in Function GET_INI() nOntop := Val(GetPvProfString( "RGB", "On top", "1" , cIniFile ) ) and in function SAVE_INI() WritePProString( "RGB", "On ...
by ukoenig
Wed Nov 15, 2017 8:13 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: A Colorpicker and RGB-tools
Replies: 53
Views: 8113

Re: Ayuda DLL

Antonio buenos dias, gracias por la ayuda Agrego la VM.LIB (xharbour), y me manda estos errorres :( :( Proyecto: Kept5, Entorno: BorlandDLL: [1]:Harbour.Exe Source\Tseguro.prg /m /n /es2 /ki /iP:\32bits\xharbour\include;P:\32bits\FWH\INCLUDE /i /oObj\Tseguro.c xHarbour Compiler build 1.2.1 (SimpLex)...
by ricardog
Thu Aug 31, 2017 2:56 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda DLL
Replies: 24
Views: 6369

Re: HB_DECRYPT, HB_READINI and GETPVPROFSTRING

Marco, If you still want to save value with leading spaces in an ini, maybe you can try to mime-encode it first. cStringIni  := cStringIni + "Password="   + cMimeEnc(cCrypted)  + crlf and later you have to remember to cVar2 := HB_DECRYPT( cMimeDec(cCri2) ...
by hua
Fri Oct 09, 2015 10:30 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: HB_DECRYPT, HB_READINI and GETPVPROFSTRING
Replies: 8
Views: 1484

Re: HB_DECRYPT, HB_READINI and GETPVPROFSTRING

Marco,

the problem is the leading space of the crypted string. You can't store it in an INI file.

EMG
by Enrico Maria Giordano
Fri Oct 09, 2015 10:21 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: HB_DECRYPT, HB_READINI and GETPVPROFSTRING
Replies: 8
Views: 1484

Re: HB_DECRYPT, HB_READINI and GETPVPROFSTRING

...   ]cCri1   := hIniData[ "Main" ][ "Password" ]cVar1   := HB_DECRYPT( cCri1  , cKeyCry )cNoCri2 := GETPVPROFSTRING( "Main" , "UserId"   , "" , ".\critt.ini" )cCri2   := GETPVPROFSTRING( "Main" ...
by MarcoBoschi
Fri Oct 09, 2015 10:11 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: HB_DECRYPT, HB_READINI and GETPVPROFSTRING
Replies: 8
Views: 1484

Re: HB_DECRYPT, HB_READINI and GETPVPROFSTRING

Marco,

it looks as a standard Windows API behaviour. It seems that GetPrivateProfileString() API removes leading spaces, that has to be considered the right behaviour, of course.

EMG
by Enrico Maria Giordano
Fri Oct 09, 2015 10:09 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: HB_DECRYPT, HB_READINI and GETPVPROFSTRING
Replies: 8
Views: 1484

Re: HB_DECRYPT, HB_READINI and GETPVPROFSTRING

... #include "Fivewin.ch" FUNCTION MAIN()LOCAL cVar1, cVar2LOCAL hIniData? memoread( ".\prova.ini" )cVar1  := GETPVPROFSTRING( "Numeri" , "var1" , "NOT READ" , ".\prova.ini" )hIniData := HB_ReadIni( ".\prova.ini" ...
by MarcoBoschi
Fri Oct 09, 2015 9:27 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: HB_DECRYPT, HB_READINI and GETPVPROFSTRING
Replies: 8
Views: 1484

Re: HB_DECRYPT, HB_READINI and GETPVPROFSTRING

Marco,

the sample is not complete. Please show a complete sample of the problem.

EMG
by Enrico Maria Giordano
Thu Oct 08, 2015 9:45 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: HB_DECRYPT, HB_READINI and GETPVPROFSTRING
Replies: 8
Views: 1484
PreviousNext

Return to advanced search