Results 1 to 18 of 18

Thread: [RESOLVED] CopyMemory Shift Array one position

Threaded View

  1. #16

    Thread Starter
    Frenzied Member
    Join Date
    Jan 2010
    Posts
    1,103

    Re: [RESOLVED] CopyMemory Shift Array one position

    Quote Originally Posted by Bonnie West View Post
    OK, I'm not done yet so I'll post it later...
    Thanks.

    VB allows direct assign between two arrays and ReDim Preserve / ReDim to resize the array. I am wondering what VB did at back. Does VB also use CopyMemory / GetMem4 /VarPtrArray / Varptr / Strptr / SAFEARRAY to accomplish those functions?

    For I = iDelRow + num To m_CntOfRows - 1
    m_CellRows(I - num) = m_CellRows(I)
    Next

    m_CntOfRows = m_CntOfRows - num
    ReDim Preserve m_CellRows(m_CntOfRows - 1)
    Last edited by Jonney; Feb 1st, 2013 at 08:39 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width