tags:

views:

46

answers:

1

Hi

Normalley, one could use the isprint(int) function to determine if a character is printable or not. This function is included in the estlib.lib in Symbian. Unfortunately, the capabilities do not allow me to link against this library. Therefore, I wondering if anybody knows an alternative way to figure out wether a character is printable or not.

Thanks Philipp

+2  A: 

Use TChar::IsPrint.

(Platform security capabilities do not prevent you from linking with estlib so in that sense you could also use isprint.)

laalto
Thanks for that. If I try to link with estlib I get the following: ERROR: *PlatSec* ERROR - Capability check failed. Can't load \bin\TechView\epoc32\release\armv6\udeb\filesystem.fsy because it links to estlib{000a0000}[10003b0b].dllwhich has the following capabilities missing: TCB. So in my case I cant use estlib.
Ah, you're working with TCB which explains a lot. estlib and many other libraries are really for user-mode code, not TCB :)
laalto
yes, that is exactly the problem I had ;)