G
Guest
Hello,
I've got what I'm sure are some dumb questions. I've got some existing C++
code that I want to move to a C++/CLI assembly to make it easier to use in a
..NET app as well as continuing to use it in an existing C++ app. It's simple
code, but I'm not sure if I'm setting up my function definitions properly.
If I've got a function that takes a string would this be correct:
void PassInString(String^% string1);
What about when I need to return a string from a function. Could someone
show me a simple code snippet? I've tried some things, but I keep getting
errors.
Thanks for any help, I really appreciate it.
Thanks,
Nick
I've got what I'm sure are some dumb questions. I've got some existing C++
code that I want to move to a C++/CLI assembly to make it easier to use in a
..NET app as well as continuing to use it in an existing C++ app. It's simple
code, but I'm not sure if I'm setting up my function definitions properly.
If I've got a function that takes a string would this be correct:
void PassInString(String^% string1);
What about when I need to return a string from a function. Could someone
show me a simple code snippet? I've tried some things, but I keep getting
errors.
Thanks for any help, I really appreciate it.
Thanks,
Nick