This site is no longer active and is available for archival purposes only. Registration and login is disabled.

Why TCHAR?


Why TCHAR?

Postby Dranith » Aug 8, 2003 @ 12:06am

Dranith
 


Postby superman » Aug 8, 2003 @ 2:02am

"Kittens give Morbo gas." - Morbo the News Monster
User avatar
superman
pm Member
 
Posts: 99
Joined: Nov 3, 2001 @ 1:09am


Postby CpuWhiz105 » Aug 8, 2003 @ 2:05am

All men are created equal,
but geeks are a little more equal.
User avatar
CpuWhiz105
pm Member
 
Posts: 39
Joined: Feb 24, 2003 @ 8:33pm
Location: Colorado Springs, CO - U.S.A.


Postby Justt » Aug 24, 2003 @ 11:15pm

User avatar
Justt
pm Member
 
Posts: 23
Joined: Mar 23, 2003 @ 10:00pm


Postby mlepage » Aug 25, 2003 @ 6:25am

The TCHAR macro is typically char on PC, wchar_t on Pocket PC.

The _stprintf macro is typically sprintf on PC, wsprintf on Pocket PC.

They are just macros and typedefs, so I suppose you could use TCHAR on Pocket PC and use wsprintf directly.

It's probably best to either use the generic text macros and typedefs (if you want portability), or to not use them if you don't.
www.scalenesoftware.com
Great games for your Palm and Pocket PC!
User avatar
mlepage
pm Insider
 
Posts: 1050
Joined: Aug 3, 2003 @ 4:47am
Location: Canada


Postby Dan East » Aug 25, 2003 @ 7:49pm

User avatar
Dan East
Site Admin
 
Posts: 5264
Joined: Jan 25, 2001 @ 5:19pm
Location: Virginia, USA


Return to GapiDraw


Sort


Forum Description

The Cross-platform Graphics SDK for Palms, Pocket PCs, Symbian Devices, and Stationary PCs.

Moderators:

sponge, Johan

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron