Page 4 of 16

Re: HMG 3.1.1

Posted: Thu Dec 06, 2012 3:29 pm
by srvet_claudio
Mario Mansilla wrote:But I get several errors among others related to "TCHAR".

Now the library doing buildlib.bat as distributed while establishing lib gives an error message about "HB_LISTVIEW".
Hi Mario.
You could set the compiler messages?
I tested and not give me problem.
Best regards,
Claudio

PS: These two compiler warnings are "normal".

Re: HMG 3.1.1

Posted: Thu Dec 06, 2012 7:44 pm
by Mario Mansilla
Hola claudio :
Disculpas el error se produce porque en lugar de colocar " // " como comentario coloque " * " como si fuera clipper .
Saludos .
Mario

Re: HMG 3.1.1

Posted: Thu Dec 06, 2012 8:54 pm
by srvet_claudio
Mario Mansilla wrote:Hola claudio :
Disculpas el error se produce porque en lugar de colocar " // " como comentario coloque " * " como si fuera clipper .
Saludos .
Mario
Ok, no hay problema.
Saludos,
Claudio.

Re: HMG 3.1.1

Posted: Thu Dec 06, 2012 9:42 pm
by Pablo César
the source code of BROWSE of the HMG.3.1.0 was remained in ANSI, I was not converted to UNICODE
Ahhh sorry I did not checked this situation.

Dr. Claudio, no habria una forma de implementar una excepción al invés de tener que rehacer la biblioteca ? Es decir, colocar una directiva negativa para no usar el UNICODE ?

Dr. Claudio, there would be no way to implement an exception in place of having to redo the library? I means, to put a negative declaration saying for not using UNICODE ?

Re: HMG 3.1.1

Posted: Thu Dec 06, 2012 10:04 pm
by Pablo César
Have you see ListView_SetUnicodeFormat function ?

Re: HMG 3.1.1

Posted: Thu Dec 06, 2012 10:28 pm
by srvet_claudio
Pablo César wrote:Dr. Claudio, there would be no way to implement an exception in place of having to redo the library? I means, to put a negative declaration saying for not using UNICODE ?
You can not change at runtime from Unicode to ANSI and vice versa.

The only way is to have two different libraries (HMG-ANSI and HMG-UNICODE) but in practice it means have two HMG at same time.

To have functions ANSI and Unicode at runtime you must make a library with two sets of functions that must necessarily have different names as in Windows, with all the complexity that entails, eg. MsgInfoA (ANSI) and MsgInfoW (Unicode).

Re: HMG 3.1.1

Posted: Thu Dec 06, 2012 10:38 pm
by srvet_claudio
Pablo César wrote:Have you see ListView_SetUnicodeFormat function ?
Interesting, very interesting...

Re: HMG 3.1.1

Posted: Thu Dec 06, 2012 10:51 pm
by srvet_claudio
Exist in C:

Code: Select all

Header_SetUnicodeFormat
MonthCal_SetUnicodeFormat
ListView_SetUnicodeFormat
TabCtrl_SetUnicodeFormat
TreeView_SetUnicodeFormat
   
Header_GetUnicodeFormat
MonthCal_GetUnicodeFormat
ListView_GetUnicodeFormat
TabCtrl_GetUnicodeFormat
TreeView_GetUnicodeFormat
Functions interesting that must to be tested.

Re: HMG 3.1.1

Posted: Fri Dec 07, 2012 4:13 am
by Rathinagiri
That is very nice then.

Re: HMG 3.1.1

Posted: Fri Dec 07, 2012 4:25 am
by bpd2000
Dear All,
Entry can be made using Google Language Input Tools
See sample
Image