LanceDrolet
Programmer
I'm using a 3rd party sound api for an app I've been playing with. I found a .NET wrapper for it, and for the most part, it's great. Here's the problem: One functions has a sig similar to this in the original dll:
void getinfo(char** name, void** value);
The wrapper has this sig as:
void getinfo(ref string name, ref IntPtr value);
So I'm seeing that the IntPtr returns the address of whatever is in value. My questionis: How do I get to the string that IS value??
x = value.ToString(); obviously gives x a string representation of the address of value.... Is there a way to do this??
void getinfo(char** name, void** value);
The wrapper has this sig as:
void getinfo(ref string name, ref IntPtr value);
So I'm seeing that the IntPtr returns the address of whatever is in value. My questionis: How do I get to the string that IS value??
x = value.ToString(); obviously gives x a string representation of the address of value.... Is there a way to do this??