>You're not the only one who is trying to get a grasp on this.
>I have a similar problem.  I believe the answer to yours is:
>
>You need to lock the field handle down first, then get the text ptr
>and then copy it, finally unlocking.
>ie:

I don't think that's right:

I did a heap dump just before the call to PwdVerify(), and as you can 
see, the chunk is locked.

 start    handle   localID   size   size  lck own flags type  index 
attr ctg  uniqueID name

---------------------------------------------------------------------- 
----------------------

*000025B8 000014B8 000014B9 000010 000018  #1  #2    fM // chunk with 
password string. It's locked!

// about to call this line
if ( PwdExists() && !PwdVerify(fldText) ) {



Alan Pinstein
Synergy Solutions, Inc.
http://www.synsolutions.com
1-800-210-5293

Reply via email to