L
Lonnie
Hey all,
I've been beating my head against the wall for a couple of days now on
a problem. I want to use ReadBlock to read in some data from a text
file. I cannot for the life of me figure out what sort of char array
this method wants. This is straight out of the MSDN:
[C++]
public: virtual int ReadBlock(
[
In,
Out
] __wchar_t buffer __gc[],
int index,
int count
);
What the heck is a __wchar_t buffer __gc[]???? How do you declare one?
The only example that I've been able to find in the usage of this
method was in C#, and that doesn't work at all. I need to do this in
C++.
Thanks!
Lonnie
I've been beating my head against the wall for a couple of days now on
a problem. I want to use ReadBlock to read in some data from a text
file. I cannot for the life of me figure out what sort of char array
this method wants. This is straight out of the MSDN:
[C++]
public: virtual int ReadBlock(
[
In,
Out
] __wchar_t buffer __gc[],
int index,
int count
);
What the heck is a __wchar_t buffer __gc[]???? How do you declare one?
The only example that I've been able to find in the usage of this
method was in C#, and that doesn't work at all. I need to do this in
C++.
Thanks!
Lonnie