Search found 109 matches: cgetdir

Return to advanced search

Re: Bug? cGetDir() on utf8

Natter wrote:you can try this

cDirTmp:=OemToAnsi(HB_UTF8ToStr(cGetDir()))


There are two problems!!
1. Title is showing garbled characters.
2. The initial directory is not expanded

Image
by ssbbs
Fri Apr 17, 2020 1:49 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Bug? cGetDir() on utf8
Replies: 9
Views: 1272

Re: Bug? cGetDir() on utf8

you can try this

cDirTmp:=OemToAnsi(HB_UTF8ToStr(cGetDir()))
by Natter
Thu Apr 16, 2020 5:09 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Bug? cGetDir() on utf8
Replies: 9
Views: 1272

Re: Bug? cGetDir() on utf8

... Carpeta"   cPath := GETCURDIR()   cCarpDest := "Seleccione la carpeta donde copiar las novedades"   cPathDest := cGetDir( cTitle, cPath,, cCarpDest,                     ;                         BIF_RETURNONLYFSDIRS + BIF_DONTGOBELOWDOMAIN + ;              ...
by ssbbs
Thu Apr 16, 2020 3:37 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Bug? cGetDir() on utf8
Replies: 9
Views: 1272

Re: Bug? cGetDir() on utf8

...  cPath := GETCURDIR()   cCarpDest := "Seleccione la carpeta donde copiar las novedades"   cPathDest := cGetDir( cTitle, cPath,, cCarpDest,                     ;            ...
by karinha
Thu Apr 16, 2020 3:18 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Bug? cGetDir() on utf8
Replies: 9
Views: 1272

Bug? cGetDir() on utf8

...       //        FW_SetUnicode(.T.)        cIniDir:="c:/temp/中文目錄"        cTmpDir := AllTrim( cGetDir( "請選擇圖片存放路徑",  cIniDir, .T. ))  please change '/' to '\' Title is ugly code!! https://i.imgur.com/M8aGaU2.jpg
by ssbbs
Thu Apr 16, 2020 2:57 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Bug? cGetDir() on utf8
Replies: 9
Views: 1272

Re: Ejemplo Buildh.bat compilar varios prgs.

... que puedes tener un fichero que se llame "myfiles.txt" que contenga PRG = \ MENU.PRG \ ATT.PRG \ AFINDFILE.PRG \ UNIDADESVALIDAS.PRG \ CGETDIR.PRG \ ASCAN.PRG \ VERPDF.PRG y tal y como te aparece en el ejemplo .mak que has puesto, utiliza mayúsculas ( yo lo utilizo para el nombre y ...
by cnavarro
Wed Jun 05, 2019 5:50 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ejemplo Buildh.bat compilar varios prgs.
Replies: 30
Views: 3027

Re: Diffferences

Hello to all. I not can found any reason for the differences on the both compilers. Can please several from us test the above code with VCC and report!?
by byte-one
Wed May 16, 2018 1:13 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Antonio: Differences between BORLAND and VCC
Replies: 32
Views: 6404

Re: Antonio: cGetDir and ::shadow()

We are checking it but can't see where the difference comes from yet
by Antonio Linares
Sun Apr 29, 2018 7:54 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Antonio: Differences between BORLAND and VCC
Replies: 32
Views: 6404

Re: Antonio: cGetDir and ::shadow()

Any news?
I found also that in dialogs from resource the height of the caption-area between MS-VC and Borland are different. Maybe different constants in the header-files from the compilers? For the moment i cannot use MS-VC.
by byte-one
Sat Apr 28, 2018 11:10 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Antonio: Differences between BORLAND and VCC
Replies: 32
Views: 6404

Re: Antonio: cGetDir and ::shadow()

Thanks Antonio.
1. The error is present on all machines.
2. I inspect the files with PE but no differences. I compile with the exact same RC-File. Have you tested the code?
by byte-one
Wed Apr 25, 2018 9:15 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Antonio: Differences between BORLAND and VCC
Replies: 32
Views: 6404

Re: Antonio: cGetDir and ::shadow()

1. looks like memory corruption
by Antonio Linares
Wed Apr 25, 2018 8:39 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Antonio: Differences between BORLAND and VCC
Replies: 32
Views: 6404

Re: Antonio: cGetDir and ::shadow()

Please inspect both EXEs using this tool:

https://bitbucket.org/fivetech/fivewin-contributions/downloads/peinfo.exe

look for differences in the embedded manifest files and/or resources
by Antonio Linares
Wed Apr 25, 2018 8:38 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Antonio: Differences between BORLAND and VCC
Replies: 32
Views: 6404

Re: Antonio: cGetDir and ::shadow()

In the meantime i made some tests. No referring with ::shadow! Please see the picture. On left side compiled with MS-VC, on right side compiled with Borland. It seems, only on dialogs from code!? http://byte-one.com/dialogs.png function dlg_test()local oDlg, oFont, oMemo, oFile, ...
by byte-one
Wed Apr 25, 2018 8:03 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Antonio: Differences between BORLAND and VCC
Replies: 32
Views: 6404

Re: Antonio: cGetDir and ::shadow()

... Called from FWSKINBTNPAINT(72) in C:\prg_allgemein\skins.prg Called from FWSKINBTNFOCUSED(363) in C:\prg_allgemein\skins.prg Called from CGETDIR(0) On second point: Same manifest in MS-VC and Borland
by byte-one
Tue Apr 24, 2018 8:46 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Antonio: Differences between BORLAND and VCC
Replies: 32
Views: 6404

Re: Antonio: cGetDir and ::shadow()

Günther,

1. Please check if a hb_out.log file is created

2. Check the manifest files embedded into the EXE
by Antonio Linares
Tue Apr 24, 2018 7:10 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Antonio: Differences between BORLAND and VCC
Replies: 32
Views: 6404
PreviousNext

Return to advanced search