C
Chip Gore
Hi -
I know that this is most likely a Microsoft-ism, but none the less...
I have a C++ class
namespace JELLO {
public ref class DEMO
{
public:
DEMO() {;}
~DEMO() {;}
bool DoStuff(const char *s1, char *s2)
{
int a = 1;
}
};
}
And when I try and call this from "C-Sharp-Land", I'm being told that
my s1 and s2 are of type "sbyte *", and I'm not sure how to get a C#
"string" to be able to be passed in to my DEMO:oStuff() method.
I'm certain that this is just my brain having a fit over nothing, but
I'm starting to think my computer doesn't like me anymore.
Can someone please point me to the bloody obvious that I'm not seeing?
Thanks
I know that this is most likely a Microsoft-ism, but none the less...
I have a C++ class
namespace JELLO {
public ref class DEMO
{
public:
DEMO() {;}
~DEMO() {;}
bool DoStuff(const char *s1, char *s2)
{
int a = 1;
}
};
}
And when I try and call this from "C-Sharp-Land", I'm being told that
my s1 and s2 are of type "sbyte *", and I'm not sure how to get a C#
"string" to be able to be passed in to my DEMO:oStuff() method.
I'm certain that this is just my brain having a fit over nothing, but
I'm starting to think my computer doesn't like me anymore.
Can someone please point me to the bloody obvious that I'm not seeing?
Thanks