|
-
Nov 22nd, 1999, 04:37 AM
#1
Hi, all.
I am trying to figure out the way to copy the content of a data structure
into a string. The reason I would like to do this is because all I know
about the structure is the pointer location. By copying the content of the
structure, I should be able to get the information from the string located
by the offset size of the item I am looking for.
Currently, I am using CopyMemory function for this, but I haven't got any
output yet. Here is my code.
dim lineInfo as LINECALLINFO 'TAPI structure
dim lineInfoStr as string
CopyMemory byVal lineInfoStr, lineInfo, lineInfo.dwTotalSize
After performing this, lineInfoStr var seems to be blank.
Any suggestions?
Thanx.
Sean Kim
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
|