hello,

     I have a common problem but very trouble me, the usage of tring.

I know it is very common to use a string in a program. but recently, I meet one big 
problem: the initialization of a string. 

     when I use the CW debugger, I saw that not all CharPtr variable was not null when 
I declare it. but that will let my program make wrong. In order to get string variable 
with null initialzation, so I use MemHandleNew() and MemHandleLock(), sometimes it 
seem ok, but it was not stable, it is also possibily to get a not null string 
variable, so can you please tell me why? and give me the right routine to declare and 
initialize a string variable?



regard
______________________________________


===================================================================
������ѵ������� http://mail.sina.com.cn
�����Ƴ����˶���Ϣ�ֻ��㲥���� 
http://sms.sina.com.cn/

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to