#113 Change LPTSTR to LPSTR in mapi.h

closed
nobody
w32api (251)
2002-06-10
2002-06-05
No

All string pointers in mapi.h are declared as LPTSTR,
pointing to chars in ANSI programs and widechars in
Unicode programs. However, the API is ANSI only. The
documentation (e.g.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/mapi/html/_mapi1book_c_mapilogon.asp\)
is wrong.

The patch is nearly as large as the file it patches,
but simply does s/LPTSTR/LPSTR/g

Discussion

  • Gunnar Degnbol

    Gunnar Degnbol - 2002-06-05
    • labels: --> w32api
    • summary: Change LPTSTR to LPSTR in mapi.h
      --> Change LPTSTR to LPSTR in mapi.h
     
  • Danny Smith

    Danny Smith - 2002-06-05

    Logged In: YES
    user_id=11494

    Thanks. Your right. There are no [AW] versions of the
    functions exported from the dll. I'll apply your patch
    later today.

    Danny

     
  • Danny Smith

    Danny Smith - 2002-06-10
    • status: open --> closed
     
  • Danny Smith

    Danny Smith - 2002-06-10

    Logged In: YES
    user_id=11494

    Your patch has been accepted and is now commited to CVS. You should expect to see it in the next release.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks