Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Extra libraries, Code snippets, applications etc. » OS Problems etc., Win32, POSIX, MacOS, FreeBSD, X11 etc » WinAPI UNICODE question
Re: WinAPI UNICODE question [message #19173 is a reply to message #19164] Sun, 16 November 2008 19:03 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14267
Registered: November 2005
Ultimate Member
cbpporter wrote on Sun, 16 November 2008 06:08

PS: Could I interest you in a couple of small changes that would leave Core compatible with both current code base and what I'm trying to achieve?

I'll use the first one as an example: in Defs.h, line 227,
typedef WCHAR              wchar;

should be
typedef wchar_t            wchar;

Actually this is what WCHAR does, so there should be absolutely no issues. Yet at this early stage, windows.h is not needed, so it would be IMO better to not rely on it.


We need(ed) wchar to be compatible with win32 API. Using WCHAR in typedef is IMO safer way how to achieve it.

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Other operating systems
Next Topic: Win98 crashes
Goto Forum:
  


Current Time: Thu Aug 21 10:28:07 CEST 2025

Total time taken to generate the page: 0.04747 seconds