Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Mac > OOP Powerplant for Mac > setting maximum...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 468 of 482
Post > Topic >>

setting maximum length of TERec structure ( mac)

by "vcmac" <sanjaya.busi@[EMAIL PROTECTED] > Apr 27, 2007 at 05:54 AM

Hi,

How could we set the maximum lenght of a TERec structure.
We want to set the maximum lenght for extended-edit type in mac to suppose
32767,
How should we do it ?

we coded like as below. But still (*teHandle)->teLength is not modified.
where teHandle is of typr **TERec

if( len > 32767 )	
{
	len = 32767;
	HLock ((Handle)teHandle) ; 
	(*teHandle)->teLength = len;
	(*teHandle)->selEnd = (*teHandle)->teLength ;
	HUnlock ((Handle)teHandle) ;
}

Please suggest any way to achieve this ?

Thanks and Regards
Sanjaya
 




 2 Posts in Topic:
setting maximum length of TERec structure ( mac)
"vcmac" <san  2007-04-27 05:54:08 
Re: setting maximum length of TERec structure ( mac)
David Phillip Oster <o  2007-04-27 14:41:27 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Jul 9 0:37:07 CDT 2008.