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

A kind of bug?


A kind of bug?

Postby Squirrel » Jun 21, 2006 @ 4:27pm

Last edited by Squirrel on Jun 22, 2006 @ 3:58am, edited 1 time in total.
Squirrel
pm Member
 
Posts: 26
Joined: Jun 2, 2006 @ 3:56pm
Location: Rus


Postby fast_rx » Jun 22, 2006 @ 1:21am

Sounds like a bad pointer.

Shouldn't you be using TCHAR and associated functions?(if you're compiling for both pc/ppc)
User avatar
fast_rx
pm Member
 
Posts: 660
Joined: Jun 10, 2003 @ 4:24pm


Postby Squirrel » Jun 22, 2006 @ 3:54am

Squirrel
pm Member
 
Posts: 26
Joined: Jun 2, 2006 @ 3:56pm
Location: Rus


Postby Conan » Jun 26, 2006 @ 8:57am

Isn't the PPC is unicode only? no single byte char. Must use all the TCHAR stuff. Do a search here.
What is Best in Life ?
User avatar
Conan
pm Member
 
Posts: 1309
Joined: Dec 24, 2001 @ 5:16am
Location: the Shades, Ankh-Morpock


Postby Guest » Jun 26, 2006 @ 5:25pm

As I told, when I make char buffer to be a member of another class, problem has gone, so I doubt there is any problem with TCHAR.
What do you meen by saying PPC is unicode only? Can I use simple char arrays then? (To say the true, I use char whenever it possible, and has no problem with it yet.)
And I wander why it's only ButtonUp/Button down events spoil the buffer, and stylus taps, for example, don't.
Guest
 


Postby jaguard » Jun 26, 2006 @ 6:37pm

jaguard
pm Member
 
Posts: 230
Joined: Mar 2, 2004 @ 6:45pm


Postby fast_rx » Jun 26, 2006 @ 6:46pm

User avatar
fast_rx
pm Member
 
Posts: 660
Joined: Jun 10, 2003 @ 4:24pm


Postby BIGBEN » Jun 27, 2006 @ 9:29pm

User avatar
BIGBEN
pm Member
 
Posts: 281
Joined: Mar 18, 2003 @ 10:18pm
Location: Saint-Petersburg, Russia


Postby Conan » Jun 28, 2006 @ 3:05pm

It's a unicode wide character device. Your char's on a PC would take a byte and on PPC 2, that's why if you write an app to run on PC as well the whole thing has to work using TCHAR and all the _t macros. If you do not run your app on PC (excluding in the emulator) then you won't see this issue but if like me you want your game to run on pc for testing or otherwise you use the TCHAR approach.

Happy to supply code samples.
What is Best in Life ?
User avatar
Conan
pm Member
 
Posts: 1309
Joined: Dec 24, 2001 @ 5:16am
Location: the Shades, Ankh-Morpock


Postby jaguard » Jun 28, 2006 @ 3:09pm

jaguard
pm Member
 
Posts: 230
Joined: Mar 2, 2004 @ 6:45pm


Postby BIGBEN » Jun 28, 2006 @ 5:15pm

User avatar
BIGBEN
pm Member
 
Posts: 281
Joined: Mar 18, 2003 @ 10:18pm
Location: Saint-Petersburg, Russia


Postby Guest » Jun 30, 2006 @ 1:22pm

As to LUA, I compiled it with the same warnings to, but it works fine, and opening libraries cause no errors.
I agree where is not much use in LUA for action games, or any game with predefined rules. But for RPG, RTS games I see no way to escape of using some scripting language (not impotant LUA).
Guest
 


Postby Squirrel » Jun 30, 2006 @ 1:23pm

Forget to log in :lol:
Squirrel
pm Member
 
Posts: 26
Joined: Jun 2, 2006 @ 3:56pm
Location: Rus


Return to PocketFrog & PocketHAL


Sort


Forum Description

SDKs for fast and robust device-independent access to Pocket PC display hardware.

Moderators:

sponge, Kzinti

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