[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Don't assume that UNICODE is not defined
From: |
Bruno Haible |
Subject: |
Re: Don't assume that UNICODE is not defined |
Date: |
Sat, 30 May 2020 16:31:05 +0200 |
User-agent: |
KMail/5.1.3 (Linux/4.4.0-177-generic; KDE/5.18.0; x86_64; ; ) |
Steve Lhomme wrote:
> Why not use the proper call in the first place rather than use a define ?
> It could be useful in a generic header used by all to make sure everyone
> uses the right thing. But since you need to edit each file it would be
> cleaner not to use any define at all and use the proper functions and
> structures directly.
It would be possible. But
- It is ugly.
- The correct search term on microsoft.com, stackoverflow.com, etc. is
'LoadLibrary', not 'LoadLibraryA'. Let's speak the same language as
everyone else is speaking.
Bruno
- [PATCH 1/2] stat: use a CHAR instead of TCHAR with GetFinalPathNameByHandleA, Steve Lhomme, 2020/05/19
- [PATCH 2/2] stat: do not use LoadLibrary when built for Windows Store apps, Steve Lhomme, 2020/05/19
- Re: [PATCH 1/2] stat: use a CHAR instead of TCHAR with GetFinalPathNameByHandleA, Bruno Haible, 2020/05/27
- Re: [PATCH 1/2] stat: use a CHAR instead of TCHAR with GetFinalPathNameByHandleA, Jeffrey Walton, 2020/05/27
- Don't assume that UNICODE is not defined, Bruno Haible, 2020/05/30
- Re: Don't assume that UNICODE is not defined, Steve Lhomme, 2020/05/30
- Re: Don't assume that UNICODE is not defined,
Bruno Haible <=
- Re: Don't assume that UNICODE is not defined, Steve Lhomme, 2020/05/30
- Re: Don't assume that UNICODE is not defined, Bruno Haible, 2020/05/30