C++ .Net DLL return values
I've got a lib that I'm trying to get running except I don't know how to return a string. I'm using VB .Net and C++ .Net. The VB project is a Windows Application and the C++ is a Managed C++ Class Library. I have found the wizard to create functions that will be accessible to my VB program. Now when I try to put in my own return value (char * or char ) VB tells me that my function in the DLL is returning a value that it cannot resolve. Anyone know how to get around this because I have a lot of data that will be going through my DLL to my VB project and I kinda need to be able to send it a string and not just character by character. Thanks.