|
-
Jan 12th, 2018, 12:03 AM
#1
Thread Starter
PowerPoster
[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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|