Results 1 to 9 of 9

Thread: [RESOLVED] How to get a pointer to an element in a byte array?

Threaded View

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Sep 2012
    Posts
    2,083

    Resolved [RESOLVED] How to get a pointer to an element in a byte array?

    When I got a pointer to a byte array, how to get a pointer to an element in this byte array? For example:

    If the pointer to arrBytes(0) is 10000, then what is the pointer to the 44th element arrBytes(44)?

    Description:
    This question is a continuation of another thread:
    http://www.vbforums.com/showthread.p...array-variable

    When I get a pointer to a byte array, I need to do two actions on this array:
    (1) Write a wav file header(it has 44 bytes) into this byte array. (This step has been completed)

    (2) Write wav data, starting from the 44th byte of the byte array.

    Because it is written through mmioRead API, I need to know the 44th byte pointer (memory address) of the byte array.

    Edit:
    Byte-array will be saved into the database
    Last edited by dreammanor; Jan 12th, 2018 at 02:57 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