Bug 8132 – LPTSTR always aliases to LPSTR

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
druntime
Product
D
Version
D2
Platform
All
OS
Windows
Creation time
2012-05-22T09:56:00Z
Last change time
2013-02-05T13:02:41Z
Assigned to
nobody
Creator
code

Comments

Comment #0 by code — 2012-05-22T09:56:02Z
http://msdn.microsoft.com/en-us/library/dd374131(v=vs.85).aspx In C this depends on whether UNICODE is set or not. As long as we don't have such a switch LPTSTR shouldn't be declared.
Comment #1 by github-bugzilla — 2012-05-29T10:09:52Z
Commits pushed to master at https://github.com/D-Programming-Language/druntime https://github.com/D-Programming-Language/druntime/commit/a9bbb65ab0e69cfc25da76cdc2828af3ba083fcb fix issue 8132 - LPTSTR always aliases to LPSTR - set version=UNICODE - make LPTSTR alias depend on version(UNICODE) - fix usage of LPTSTR in CreateSemaphoreA/OpenSemaphoreA https://github.com/D-Programming-Language/druntime/commit/4b59883ba4b4b4f9e80a9c9a26aa7b4dc412657b Merge pull request #227 from dawgfoto/fix8132 fix issue 8132 - LPTSTR always aliases to LPSTR