The ANSI/Unicode issue is easy:
Unicode to ANSI:
CHAR * hmg_WCtoMB ( WCHAR * srcW )
ANSI to Unicode:
WCHAR * hmg_MBtoWC ( CHAR * srcA )
Re: Print Preview - Button Send mail
Moderator: Rathinagiri
- srvet_claudio
- Posts: 2193
- Joined: Thu Feb 25, 2010 8:43 pm
- Location: Uruguay
- Contact:
- Pablo César
- Posts: 4059
- Joined: Wed Sep 08, 2010 1:18 pm
- Location: Curitiba - Brasil
Print Preview - Button Send mail
This is a gift of our genious friend. Thank you.srvet_claudio wrote:The ANSI/Unicode issue is easy:
Unicode to ANSI:
CHAR * hmg_WCtoMB ( WCHAR * srcW )
ANSI to Unicode:
WCHAR * hmg_MBtoWC ( CHAR * srcA )
But anyway, will need to indentify these conditions: OS version and encoding format of each enviroment where the app will be running.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein