Quote:
Could you please let me know the issue.
May be the issue is in your expectations about how and where structures get allocated in memory.
No doubt that there are differences between 32 bits and 64 bits.
long lInd = (long)(pStrTbl) - (long)(pStrTbl1); long lInd = HandleToLong(pStrTbl) - HandleToLong(pStrTbl1);
print values of pointers used in your calculation, and see what is what.